123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- <?php
- /**
- * @file
- * chapitre.strongarm.inc
- */
- /**
- * Implements hook_strongarm().
- */
- function chapitre_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_chapitre';
- $strongarm->value = 'edit-workflow';
- $export['additional_settings__active_tab_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'ant_chapitre';
- $strongarm->value = '0';
- $export['ant_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'ant_pattern_chapitre';
- $strongarm->value = '';
- $export['ant_pattern_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'ant_php_chapitre';
- $strongarm->value = 0;
- $export['ant_php_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'content_type_extras_cancel_chapitre';
- $strongarm->value = '1';
- $export['content_type_extras_cancel_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'content_type_extras_preview_button_chapitre';
- $strongarm->value = 'Aperçu';
- $export['content_type_extras_preview_button_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'content_type_extras_save_and_edit_button_chapitre';
- $strongarm->value = 'Save and Edit';
- $export['content_type_extras_save_and_edit_button_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'content_type_extras_save_and_edit_chapitre';
- $strongarm->value = '1';
- $export['content_type_extras_save_and_edit_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'content_type_extras_save_and_new_button_chapitre';
- $strongarm->value = 'Save and New';
- $export['content_type_extras_save_and_new_button_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'content_type_extras_save_and_new_chapitre';
- $strongarm->value = '0';
- $export['content_type_extras_save_and_new_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'content_type_extras_title_hide_chapitre';
- $strongarm->value = 0;
- $export['content_type_extras_title_hide_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'date_popup_authored_enabled_chapitre';
- $strongarm->value = 0;
- $export['date_popup_authored_enabled_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'date_popup_authored_format_chapitre';
- $strongarm->value = 'm/d/Y - H:i';
- $export['date_popup_authored_format_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'date_popup_authored_year_range_chapitre';
- $strongarm->value = '3';
- $export['date_popup_authored_year_range_chapitre'] = $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__chapitre';
- $strongarm->value = array(
- 'view_modes' => array(
- 'teaser' => array(
- 'custom_settings' => TRUE,
- ),
- 'full' => array(
- 'custom_settings' => FALSE,
- ),
- 'rss' => array(
- 'custom_settings' => FALSE,
- ),
- 'token' => array(
- 'custom_settings' => FALSE,
- ),
- 'chapter' => array(
- 'custom_settings' => TRUE,
- ),
- ),
- 'extra_fields' => array(
- 'form' => array(
- 'title' => array(
- 'weight' => '0',
- ),
- 'path' => array(
- 'weight' => '5',
- ),
- 'redirect' => array(
- 'weight' => '4',
- ),
- 'workflow' => array(
- 'weight' => '99',
- ),
- ),
- 'display' => array(
- 'workflow_current_state' => array(
- 'default' => array(
- 'weight' => '7',
- 'visible' => FALSE,
- ),
- 'teaser' => array(
- 'weight' => '4',
- 'visible' => FALSE,
- ),
- 'chapter' => array(
- 'weight' => '6',
- 'visible' => FALSE,
- ),
- ),
- 'workflow' => array(
- 'default' => array(
- 'weight' => '6',
- 'visible' => FALSE,
- ),
- 'teaser' => array(
- 'weight' => '7',
- 'visible' => FALSE,
- ),
- 'chapter' => array(
- 'weight' => '7',
- 'visible' => FALSE,
- ),
- ),
- ),
- ),
- );
- $export['field_bundle_settings_node__chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'language_content_type_chapitre';
- $strongarm->value = '0';
- $export['language_content_type_chapitre'] = $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_chapitre';
- $strongarm->value = array();
- $export['menu_options_chapitre'] = $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_chapitre';
- $strongarm->value = 'main-menu:0';
- $export['menu_parent_chapitre'] = $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_chapitre_default';
- $strongarm->value = array(
- 'title' => array(
- 'region' => 'main',
- 'weight' => '0',
- 'has_required' => TRUE,
- 'title' => 'Titre',
- ),
- 'additional_settings' => array(
- 'region' => 'main',
- 'weight' => '3',
- '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,
- ),
- 'field_partie' => array(
- 'region' => 'main',
- 'weight' => '2',
- 'has_required' => FALSE,
- 'title' => 'Partie',
- 'hidden' => 0,
- ),
- 'workflow' => array(
- 'region' => 'right',
- 'weight' => '0',
- 'has_required' => FALSE,
- 'title' => 'Masqué',
- 'hidden' => 0,
- ),
- );
- $export['nodeformscols_field_placements_chapitre_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_chapitre';
- $strongarm->value = array(
- 0 => 'status',
- );
- $export['node_options_chapitre'] = $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_chapitre';
- $strongarm->value = '1';
- $export['node_preview_chapitre'] = $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_chapitre';
- $strongarm->value = 0;
- $export['node_submitted_chapitre'] = $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_chapitre_pattern';
- $strongarm->value = '[node:title]';
- $export['pathauto_node_chapitre_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 = 'save_continue_chapitre';
- $strongarm->value = 'Enregistrer et ajouter les champs';
- $export['save_continue_chapitre'] = $strongarm;
- $strongarm = new stdClass();
- $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
- $strongarm->api_version = 1;
- $strongarm->name = 'user_permissions_chapitre';
- $strongarm->value = array(
- 0 => 'create_roles',
- 1 => 'edit_roles',
- 2 => 'delete_roles',
- );
- $export['user_permissions_chapitre'] = $strongarm;
- return $export;
- }
|