/defaultcontent_demo.strongarm.inc
https://bitbucket.org/nielsdefeyter/defaultcontent_demo · Pascal · 60 lines · 9 code · 1 blank · 50 comment · 0 complexity · 41ea5e3b223e682f0539a2535137159c MD5 · raw file
- <?php
- /**
- * @file
- * defaultcontent_demo.strongarm.inc
- */
- /**
- * Implements hook_strongarm().
- */
- function defaultcontent_demo_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 = 'menu_options_defaultcontent_demo';
- $strongarm->value = array(
- 0 => 'menu-defaultcontent-demo',
- );
- $export['menu_options_defaultcontent_demo'] = $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_defaultcontent_demo';
- $strongarm->value = 'menu-defaultcontent-demo:0';
- $export['menu_parent_defaultcontent_demo'] = $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_content_enabled';
- $strongarm->value = TRUE;
- $export['node_content_enabled'] = $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_defaultcontent_demo';
- $strongarm->value = array(
- 0 => 'status',
- );
- $export['node_options_defaultcontent_demo'] = $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_defaultcontent_demo';
- $strongarm->value = '0';
- $export['node_preview_defaultcontent_demo'] = $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_defaultcontent_demo';
- $strongarm->value = 1;
- $export['node_submitted_defaultcontent_demo'] = $strongarm;
- return $export;
- }