removed images display for pages

This commit is contained in:
2017-03-08 19:10:43 +01:00
parent 430647e207
commit 4664d4cf28
2 changed files with 37 additions and 9 deletions
@@ -87,13 +87,9 @@ function page_field_default_field_instances() {
),
'default' => array(
'label' => 'above',
'module' => 'image',
'settings' => array(
'image_link' => '',
'image_style' => '',
),
'type' => 'image',
'weight' => 1,
'settings' => array(),
'type' => 'hidden',
'weight' => 3,
),
'teaser' => array(
'label' => 'above',
@@ -29,7 +29,26 @@ function page_strongarm() {
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_node__page';
$strongarm->value = array(
'view_modes' => 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(
@@ -45,7 +64,20 @@ function page_strongarm() {
'weight' => '5',
),
),
'display' => array(),
'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;