added accriche field to Chapters
This commit is contained in:
@@ -17,6 +17,12 @@ function page_field_default_field_instances() {
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'chapter' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'text',
|
||||
|
||||
@@ -52,6 +52,7 @@ function page_user_default_permissions() {
|
||||
$permissions['edit own page content'] = array(
|
||||
'name' => 'edit own page content',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
|
||||
@@ -17,6 +17,8 @@ features[user_permission][] = delete any page content
|
||||
features[user_permission][] = delete own page content
|
||||
features[user_permission][] = edit any page content
|
||||
features[user_permission][] = edit own page content
|
||||
features[variable][] = field_bundle_settings_node__page
|
||||
features[variable][] = language_content_type_page
|
||||
features[variable][] = menu_options_page
|
||||
features[variable][] = menu_parent_page
|
||||
features[variable][] = node_options_page
|
||||
|
||||
@@ -10,11 +10,62 @@
|
||||
function page_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 = 'field_bundle_settings_node__page';
|
||||
$strongarm->value = array(
|
||||
'view_modes' => array(
|
||||
'teaser' => array(
|
||||
'custom_settings' => TRUE,
|
||||
),
|
||||
'chapter' => array(
|
||||
'custom_settings' => TRUE,
|
||||
),
|
||||
'full' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'rss' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'token' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
),
|
||||
'extra_fields' => array(
|
||||
'form' => 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;
|
||||
|
||||
$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_page';
|
||||
$strongarm->value = '0';
|
||||
$export['language_content_type_page'] = $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_page';
|
||||
$strongarm->value = array();
|
||||
$strongarm->value = array(
|
||||
0 => 'menu-footer-menu',
|
||||
);
|
||||
$export['menu_options_page'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
|
||||
Reference in New Issue
Block a user