196 lines
5.7 KiB
PHP
196 lines
5.7 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* page.strongarm.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_strongarm().
|
|
*/
|
|
function page_strongarm() {
|
|
$export = array();
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'additional_settings__active_tab_page';
|
|
$strongarm->value = 'edit-menu';
|
|
$export['additional_settings__active_tab_page'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'devel_redirect_page';
|
|
$strongarm->value = 0;
|
|
$export['devel_redirect_page'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'field_bundle_settings_node__page';
|
|
$strongarm->value = array(
|
|
'view_modes' => array(
|
|
'teaser' => array(
|
|
'custom_settings' => TRUE,
|
|
),
|
|
'accueil' => array(
|
|
'custom_settings' => TRUE,
|
|
),
|
|
'attente' => array(
|
|
'custom_settings' => TRUE,
|
|
),
|
|
'full' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'rss' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'token' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
),
|
|
'extra_fields' => array(
|
|
'form' => array(
|
|
'title' => array(
|
|
'weight' => '0',
|
|
),
|
|
'path' => array(
|
|
'weight' => '3',
|
|
),
|
|
'redirect' => array(
|
|
'weight' => '4',
|
|
),
|
|
'workflow' => array(
|
|
'weight' => '5',
|
|
),
|
|
),
|
|
'display' => array(
|
|
'workflow_current_state' => array(
|
|
'default' => array(
|
|
'weight' => '1',
|
|
'visible' => FALSE,
|
|
),
|
|
),
|
|
'workflow' => array(
|
|
'default' => array(
|
|
'weight' => '2',
|
|
'visible' => FALSE,
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
$export['field_bundle_settings_node__page'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'menu_options_page';
|
|
$strongarm->value = array();
|
|
$export['menu_options_page'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'menu_parent_page';
|
|
$strongarm->value = 'main-menu:0';
|
|
$export['menu_parent_page'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'nodeformscols_field_placements_page_default';
|
|
$strongarm->value = array(
|
|
'title' => array(
|
|
'region' => 'main',
|
|
'weight' => '0',
|
|
'has_required' => TRUE,
|
|
'title' => 'Title',
|
|
),
|
|
'additional_settings' => array(
|
|
'region' => 'main',
|
|
'weight' => '2',
|
|
'has_required' => FALSE,
|
|
'title' => 'Vertical tabs',
|
|
'hidden' => 0,
|
|
),
|
|
'actions' => array(
|
|
'region' => 'right',
|
|
'weight' => '1',
|
|
'has_required' => FALSE,
|
|
'title' => 'Enregistrer',
|
|
'hidden' => 0,
|
|
),
|
|
'body' => array(
|
|
'region' => 'main',
|
|
'weight' => '1',
|
|
'has_required' => FALSE,
|
|
'title' => 'Body',
|
|
'hidden' => 0,
|
|
),
|
|
'entity_translation_entity_form_language_update' => array(
|
|
'region' => 'main',
|
|
'weight' => '3',
|
|
'has_required' => FALSE,
|
|
'title' => NULL,
|
|
'hidden' => 0,
|
|
),
|
|
'workflow' => array(
|
|
'region' => 'right',
|
|
'weight' => '0',
|
|
'has_required' => FALSE,
|
|
'title' => 'Masqué',
|
|
'hidden' => 0,
|
|
),
|
|
);
|
|
$export['nodeformscols_field_placements_page_default'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'node_options_page';
|
|
$strongarm->value = array(
|
|
0 => 'status',
|
|
);
|
|
$export['node_options_page'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'node_preview_page';
|
|
$strongarm->value = '1';
|
|
$export['node_preview_page'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'node_submitted_page';
|
|
$strongarm->value = 0;
|
|
$export['node_submitted_page'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'page_cache_maximum_age';
|
|
$strongarm->value = '0';
|
|
$export['page_cache_maximum_age'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'pathauto_node_page_pattern';
|
|
$strongarm->value = '';
|
|
$export['pathauto_node_page_pattern'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'workflow_page';
|
|
$strongarm->value = array(
|
|
0 => 'node',
|
|
);
|
|
$export['workflow_page'] = $strongarm;
|
|
|
|
return $export;
|
|
}
|