|
@@ -0,0 +1,256 @@
|
|
|
+<?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-extras';
|
|
|
+ $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(),
|
|
|
+ 'extra_fields' => array(
|
|
|
+ 'form' => array(
|
|
|
+ 'title' => array(
|
|
|
+ 'weight' => '0',
|
|
|
+ ),
|
|
|
+ 'path' => array(
|
|
|
+ 'weight' => '5',
|
|
|
+ ),
|
|
|
+ 'redirect' => array(
|
|
|
+ 'weight' => '4',
|
|
|
+ ),
|
|
|
+ 'workflow' => array(
|
|
|
+ 'weight' => '99',
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ 'display' => array(),
|
|
|
+ ),
|
|
|
+ );
|
|
|
+ $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;
|
|
|
+}
|