added accriche field to Chapters

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-13 16:47:10 +02:00
parent 727f4d1709
commit d170d93591
16 changed files with 813 additions and 217 deletions
@@ -113,7 +113,23 @@ function chapitre_strongarm() {
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_node__chapitre';
$strongarm->value = array(
'view_modes' => 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(
@@ -129,7 +145,36 @@ function chapitre_strongarm() {
'weight' => '99',
),
),
'display' => array(),
'display' => array(
'workflow_current_state' => array(
'default' => array(
'weight' => '5',
'visible' => FALSE,
),
'teaser' => array(
'weight' => '4',
'visible' => FALSE,
),
'chapter' => array(
'weight' => '4',
'visible' => FALSE,
),
),
'workflow' => array(
'default' => array(
'weight' => '4',
'visible' => FALSE,
),
'teaser' => array(
'weight' => '7',
'visible' => FALSE,
),
'chapter' => array(
'weight' => '5',
'visible' => FALSE,
),
),
),
),
);
$export['field_bundle_settings_node__chapitre'] = $strongarm;