function panopoly_news_strongarm in Panopoly News 7
Implements hook_strongarm().
File
Code
function panopoly_news_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 = 'date_format_panopoly_news_url';
$strongarm->value = 'Y/m/d';
$export['date_format_panopoly_news_url'] = $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__panopoly_news_article';
$strongarm->value = array(
'view_modes' => array(
'teaser' => array(
'custom_settings' => TRUE,
),
'featured' => array(
'custom_settings' => TRUE,
),
'full' => array(
'custom_settings' => FALSE,
),
'rss' => array(
'custom_settings' => FALSE,
),
'search_index' => array(
'custom_settings' => FALSE,
),
'search_result' => array(
'custom_settings' => FALSE,
),
'token' => array(
'custom_settings' => FALSE,
),
),
'extra_fields' => array(
'form' => array(
'title' => array(
'weight' => '0',
),
'path' => array(
'weight' => '1',
),
),
'display' => array(),
),
);
$export['field_bundle_settings_node__panopoly_news_article'] = $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_panopoly_news_article';
$strongarm->value = array(
0 => 'main-menu',
);
$export['menu_options_panopoly_news_article'] = $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_panopoly_news_article';
$strongarm->value = 'main-menu:0';
$export['menu_parent_panopoly_news_article'] = $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_panopoly_news_article';
$strongarm->value = array(
0 => 'status',
1 => 'revision',
);
$export['node_options_panopoly_news_article'] = $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_panopoly_news_article';
$strongarm->value = '0';
$export['node_preview_panopoly_news_article'] = $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_panopoly_news_article';
$strongarm->value = 1;
$export['node_submitted_panopoly_news_article'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'panelizer_defaults_node_panopoly_news_article';
$strongarm->value = array(
'status' => 1,
'view modes' => array(
'page_manager' => array(
'status' => 1,
'default' => 1,
'choice' => 0,
),
'default' => array(
'status' => 1,
'default' => 1,
'choice' => 0,
),
'teaser' => array(
'status' => 1,
'default' => 1,
'choice' => 0,
),
'featured' => array(
'status' => 1,
'default' => 1,
'choice' => 0,
),
),
);
$export['panelizer_defaults_node_panopoly_news_article'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'panelizer_node:panopoly_news_article_allowed_layouts_default';
$strongarm->value = 1;
$export['panelizer_node:panopoly_news_article_allowed_layouts_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 = 'panelizer_node:panopoly_news_article_allowed_types_default';
$strongarm->value = 1;
$export['panelizer_node:panopoly_news_article_allowed_types_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 = 'pathauto_node_panopoly_news_article_pattern';
$strongarm->value = 'news/[node:title]';
$export['pathauto_node_panopoly_news_article_pattern'] = $strongarm;
return $export;
}