Bladeren bron

created Chapitre feature

Bachir Soussi Chiadmi 10 jaren geleden
bovenliggende
commit
e61e4c779d

+ 213 - 0
sites/all/modules/features/chapitre/chapitre.features.field_base.inc

@@ -0,0 +1,213 @@
+<?php
+/**
+ * @file
+ * chapitre.features.field_base.inc
+ */
+
+/**
+ * Implements hook_field_default_field_bases().
+ */
+function chapitre_field_default_field_bases() {
+  $field_bases = array();
+
+  // Exported field_base: 'field_agir'
+  $field_bases['field_agir'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_agir',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(),
+    'translatable' => 0,
+    'type' => 'text_long',
+  );
+
+  // Exported field_base: 'field_comprendre'
+  $field_bases['field_comprendre'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_comprendre',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(),
+    'translatable' => 0,
+    'type' => 'text_long',
+  );
+
+  // Exported field_base: 'field_dbatre'
+  $field_bases['field_dbatre'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_dbatre',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(),
+    'translatable' => 0,
+    'type' => 'text_long',
+  );
+
+  // Exported field_base: 'field_description'
+  $field_bases['field_description'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_description',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'max_length' => 255,
+    ),
+    'translatable' => 0,
+    'type' => 'text',
+  );
+
+  // Exported field_base: 'field_nom'
+  $field_bases['field_nom'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_nom',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'max_length' => 255,
+    ),
+    'translatable' => 0,
+    'type' => 'text',
+  );
+
+  // Exported field_base: 'field_partie'
+  $field_bases['field_partie'] = array(
+    'active' => 1,
+    'cardinality' => 3,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_partie',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(
+      'revision_id' => array(
+        0 => 'revision_id',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'field_collection',
+    'settings' => array(
+      'hide_blank_items' => 1,
+      'path' => '',
+    ),
+    'translatable' => 0,
+    'type' => 'field_collection',
+  );
+
+  // Exported field_base: 'field_video'
+  $field_bases['field_video'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_video',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(),
+    'locked' => 0,
+    'module' => 'video_embed_field',
+    'settings' => array(),
+    'translatable' => 0,
+    'type' => 'video_embed_field',
+  );
+
+  return $field_bases;
+}

+ 317 - 0
sites/all/modules/features/chapitre/chapitre.features.field_instance.inc

@@ -0,0 +1,317 @@
+<?php
+/**
+ * @file
+ * chapitre.features.field_instance.inc
+ */
+
+/**
+ * Implements hook_field_default_field_instances().
+ */
+function chapitre_field_default_field_instances() {
+  $field_instances = array();
+
+  // Exported field_instance: 'field_collection_item-field_partie-field_description'
+  $field_instances['field_collection_item-field_partie-field_description'] = array(
+    'bundle' => 'field_partie',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 1,
+      ),
+    ),
+    'entity_type' => 'field_collection_item',
+    'field_name' => 'field_description',
+    'label' => 'Description',
+    'required' => 0,
+    'settings' => array(
+      'linkit' => array(
+        'button_text' => 'Recherche',
+        'enable' => 0,
+        'profile' => '',
+      ),
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => 32,
+    ),
+  );
+
+  // Exported field_instance: 'field_collection_item-field_partie-field_nom'
+  $field_instances['field_collection_item-field_partie-field_nom'] = array(
+    'bundle' => 'field_partie',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'field_collection_item',
+    'field_name' => 'field_nom',
+    'label' => 'Nom',
+    'required' => 0,
+    'settings' => array(
+      'linkit' => array(
+        'button_text' => 'Recherche',
+        'enable' => 0,
+        'profile' => '',
+      ),
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => 31,
+    ),
+  );
+
+  // Exported field_instance: 'field_collection_item-field_partie-field_video'
+  $field_instances['field_collection_item-field_partie-field_video'] = array(
+    'bundle' => 'field_partie',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'video_embed_field',
+        'settings' => array(
+          'description' => 1,
+          'description_position' => 'bottom',
+          'video_style' => 'normal',
+        ),
+        'type' => 'video_embed_field',
+        'weight' => 2,
+      ),
+    ),
+    'entity_type' => 'field_collection_item',
+    'field_name' => 'field_video',
+    'label' => 'Video',
+    'required' => 0,
+    'settings' => array(
+      'description_field' => 0,
+      'description_length' => 128,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'video_embed_field',
+      'settings' => array(),
+      'type' => 'video_embed_field_video',
+      'weight' => 33,
+    ),
+  );
+
+  // Exported field_instance: 'node-chapitre-field_agir'
+  $field_instances['node-chapitre-field_agir'] = array(
+    'bundle' => 'chapitre',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 3,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_agir',
+    'label' => 'Agir',
+    'required' => 0,
+    'settings' => array(
+      'linkit' => array(
+        'button_text' => 'Recherche',
+        'enable' => 0,
+        'profile' => '',
+      ),
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 10,
+      ),
+      'type' => 'text_textarea',
+      'weight' => 102,
+    ),
+  );
+
+  // Exported field_instance: 'node-chapitre-field_comprendre'
+  $field_instances['node-chapitre-field_comprendre'] = array(
+    'bundle' => 'chapitre',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 4,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_comprendre',
+    'label' => 'Comprendre',
+    'required' => 0,
+    'settings' => array(
+      'linkit' => array(
+        'button_text' => 'Recherche',
+        'enable' => 0,
+        'profile' => '',
+      ),
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 10,
+      ),
+      'type' => 'text_textarea',
+      'weight' => 100,
+    ),
+  );
+
+  // Exported field_instance: 'node-chapitre-field_dbatre'
+  $field_instances['node-chapitre-field_dbatre'] = array(
+    'bundle' => 'chapitre',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 2,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_dbatre',
+    'label' => 'Débatre',
+    'required' => 0,
+    'settings' => array(
+      'linkit' => array(
+        'button_text' => 'Recherche',
+        'enable' => 0,
+        'profile' => '',
+      ),
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 10,
+      ),
+      'type' => 'text_textarea',
+      'weight' => 101,
+    ),
+  );
+
+  // Exported field_instance: 'node-chapitre-field_partie'
+  $field_instances['node-chapitre-field_partie'] = array(
+    'bundle' => 'chapitre',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'field_collection',
+        'settings' => array(
+          'add' => 'Ajouter',
+          'delete' => 'Supprimer',
+          'description' => TRUE,
+          'edit' => 'Modifier',
+          'view_mode' => 'full',
+        ),
+        'type' => 'field_collection_view',
+        'weight' => 1,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_partie',
+    'label' => 'Partie',
+    'required' => 0,
+    'settings' => array(
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'field_collection',
+      'settings' => array(),
+      'type' => 'field_collection_embed',
+      'weight' => 3,
+    ),
+  );
+
+  // Translatables
+  // Included for use with string extractors like potx.
+  t('Agir');
+  t('Comprendre');
+  t('Description');
+  t('Débatre');
+  t('Nom');
+  t('Partie');
+  t('Video');
+
+  return $field_instances;
+}

+ 35 - 0
sites/all/modules/features/chapitre/chapitre.features.inc

@@ -0,0 +1,35 @@
+<?php
+/**
+ * @file
+ * chapitre.features.inc
+ */
+
+/**
+ * Implements hook_ctools_plugin_api().
+ */
+function chapitre_ctools_plugin_api($module = NULL, $api = NULL) {
+  if ($module == "field_group" && $api == "field_group") {
+    return array("version" => "1");
+  }
+  if ($module == "strongarm" && $api == "strongarm") {
+    return array("version" => "1");
+  }
+}
+
+/**
+ * Implements hook_node_info().
+ */
+function chapitre_node_info() {
+  $items = array(
+    'chapitre' => array(
+      'name' => t('Chapitre'),
+      'base' => 'node_content',
+      'description' => '',
+      'has_title' => '1',
+      'title_label' => t('Titre'),
+      'help' => '',
+    ),
+  );
+  drupal_alter('node_info', $items);
+  return $items;
+}

+ 64 - 0
sites/all/modules/features/chapitre/chapitre.features.user_permission.inc

@@ -0,0 +1,64 @@
+<?php
+/**
+ * @file
+ * chapitre.features.user_permission.inc
+ */
+
+/**
+ * Implements hook_user_default_permissions().
+ */
+function chapitre_user_default_permissions() {
+  $permissions = array();
+
+  // Exported permission: 'create chapitre content'.
+  $permissions['create chapitre content'] = array(
+    'name' => 'create chapitre content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'delete any chapitre content'.
+  $permissions['delete any chapitre content'] = array(
+    'name' => 'delete any chapitre content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'delete own chapitre content'.
+  $permissions['delete own chapitre content'] = array(
+    'name' => 'delete own chapitre content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'edit any chapitre content'.
+  $permissions['edit any chapitre content'] = array(
+    'name' => 'edit any chapitre content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  // Exported permission: 'edit own chapitre content'.
+  $permissions['edit own chapitre content'] = array(
+    'name' => 'edit own chapitre content',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'node',
+  );
+
+  return $permissions;
+}

+ 98 - 0
sites/all/modules/features/chapitre/chapitre.field_group.inc

@@ -0,0 +1,98 @@
+<?php
+/**
+ * @file
+ * chapitre.field_group.inc
+ */
+
+/**
+ * Implements hook_field_group_info().
+ */
+function chapitre_field_group_info() {
+  $export = array();
+
+  $field_group = new stdClass();
+  $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
+  $field_group->api_version = 1;
+  $field_group->identifier = 'group_general|node|chapitre|form';
+  $field_group->group_name = 'group_general';
+  $field_group->entity_type = 'node';
+  $field_group->bundle = 'chapitre';
+  $field_group->mode = 'form';
+  $field_group->parent_name = 'group_htabs';
+  $field_group->data = array(
+    'label' => 'Général',
+    'weight' => '8',
+    'children' => array(
+      0 => 'field_dbatre',
+      1 => 'field_agir',
+      2 => 'field_comprendre',
+    ),
+    'format_type' => 'htab',
+    'format_settings' => array(
+      'formatter' => 'closed',
+      'instance_settings' => array(
+        'description' => '',
+        'classes' => 'group-general field-group-htab',
+        'required_fields' => 1,
+        'id' => '',
+      ),
+    ),
+  );
+  $export['group_general|node|chapitre|form'] = $field_group;
+
+  $field_group = new stdClass();
+  $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
+  $field_group->api_version = 1;
+  $field_group->identifier = 'group_htabs|node|chapitre|form';
+  $field_group->group_name = 'group_htabs';
+  $field_group->entity_type = 'node';
+  $field_group->bundle = 'chapitre';
+  $field_group->mode = 'form';
+  $field_group->parent_name = '';
+  $field_group->data = array(
+    'label' => 'htabs',
+    'weight' => '1',
+    'children' => array(
+      0 => 'group_general',
+      1 => 'group_parties',
+    ),
+    'format_type' => 'htabs',
+    'format_settings' => array(
+      'formatter' => '',
+      'instance_settings' => array(
+        'classes' => 'group-htabs field-group-htabs',
+      ),
+    ),
+  );
+  $export['group_htabs|node|chapitre|form'] = $field_group;
+
+  $field_group = new stdClass();
+  $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
+  $field_group->api_version = 1;
+  $field_group->identifier = 'group_parties|node|chapitre|form';
+  $field_group->group_name = 'group_parties';
+  $field_group->entity_type = 'node';
+  $field_group->bundle = 'chapitre';
+  $field_group->mode = 'form';
+  $field_group->parent_name = 'group_htabs';
+  $field_group->data = array(
+    'label' => 'Parties',
+    'weight' => '9',
+    'children' => array(
+      0 => 'field_partie',
+    ),
+    'format_type' => 'htab',
+    'format_settings' => array(
+      'formatter' => 'closed',
+      'instance_settings' => array(
+        'description' => '',
+        'classes' => 'group-parties field-group-htab',
+        'required_fields' => 1,
+        'id' => '',
+      ),
+    ),
+  );
+  $export['group_parties|node|chapitre|form'] = $field_group;
+
+  return $export;
+}

+ 63 - 0
sites/all/modules/features/chapitre/chapitre.info

@@ -0,0 +1,63 @@
+name = Chapitre
+core = 7.x
+package = Gui
+dependencies[] = ctools
+dependencies[] = features
+dependencies[] = field_collection
+dependencies[] = field_group
+dependencies[] = node
+dependencies[] = strongarm
+dependencies[] = text
+dependencies[] = video_embed_field
+features[ctools][] = field_group:field_group:1
+features[ctools][] = strongarm:strongarm:1
+features[features_api][] = api:2
+features[field_base][] = field_agir
+features[field_base][] = field_comprendre
+features[field_base][] = field_dbatre
+features[field_base][] = field_description
+features[field_base][] = field_nom
+features[field_base][] = field_partie
+features[field_base][] = field_video
+features[field_group][] = group_general|node|chapitre|form
+features[field_group][] = group_htabs|node|chapitre|form
+features[field_group][] = group_parties|node|chapitre|form
+features[field_instance][] = field_collection_item-field_partie-field_description
+features[field_instance][] = field_collection_item-field_partie-field_nom
+features[field_instance][] = field_collection_item-field_partie-field_video
+features[field_instance][] = node-chapitre-field_agir
+features[field_instance][] = node-chapitre-field_comprendre
+features[field_instance][] = node-chapitre-field_dbatre
+features[field_instance][] = node-chapitre-field_partie
+features[node][] = chapitre
+features[user_permission][] = create chapitre content
+features[user_permission][] = delete any chapitre content
+features[user_permission][] = delete own chapitre content
+features[user_permission][] = edit any chapitre content
+features[user_permission][] = edit own chapitre content
+features[variable][] = additional_settings__active_tab_chapitre
+features[variable][] = ant_chapitre
+features[variable][] = ant_pattern_chapitre
+features[variable][] = ant_php_chapitre
+features[variable][] = content_type_extras_cancel_chapitre
+features[variable][] = content_type_extras_preview_button_chapitre
+features[variable][] = content_type_extras_save_and_edit_button_chapitre
+features[variable][] = content_type_extras_save_and_edit_chapitre
+features[variable][] = content_type_extras_save_and_new_button_chapitre
+features[variable][] = content_type_extras_save_and_new_chapitre
+features[variable][] = content_type_extras_title_hide_chapitre
+features[variable][] = date_popup_authored_enabled_chapitre
+features[variable][] = date_popup_authored_format_chapitre
+features[variable][] = date_popup_authored_year_range_chapitre
+features[variable][] = field_bundle_settings_node__chapitre
+features[variable][] = language_content_type_chapitre
+features[variable][] = menu_options_chapitre
+features[variable][] = menu_parent_chapitre
+features[variable][] = node_options_chapitre
+features[variable][] = node_preview_chapitre
+features[variable][] = node_submitted_chapitre
+features[variable][] = nodeformscols_field_placements_chapitre_default
+features[variable][] = pathauto_node_chapitre_pattern
+features[variable][] = save_continue_chapitre
+features[variable][] = user_permissions_chapitre
+project path = sites/all/modules/features

+ 7 - 0
sites/all/modules/features/chapitre/chapitre.module

@@ -0,0 +1,7 @@
+<?php
+/**
+ * @file
+ * Code for the Chapitre feature.
+ */
+
+include_once 'chapitre.features.inc';

+ 256 - 0
sites/all/modules/features/chapitre/chapitre.strongarm.inc

@@ -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;
+}