/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

  1. <?php
  2. /**
  3. * @file
  4. * defaultcontent_demo.strongarm.inc
  5. */
  6. /**
  7. * Implements hook_strongarm().
  8. */
  9. function defaultcontent_demo_strongarm() {
  10. $export = array();
  11. $strongarm = new stdClass();
  12. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  13. $strongarm->api_version = 1;
  14. $strongarm->name = 'menu_options_defaultcontent_demo';
  15. $strongarm->value = array(
  16. 0 => 'menu-defaultcontent-demo',
  17. );
  18. $export['menu_options_defaultcontent_demo'] = $strongarm;
  19. $strongarm = new stdClass();
  20. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  21. $strongarm->api_version = 1;
  22. $strongarm->name = 'menu_parent_defaultcontent_demo';
  23. $strongarm->value = 'menu-defaultcontent-demo:0';
  24. $export['menu_parent_defaultcontent_demo'] = $strongarm;
  25. $strongarm = new stdClass();
  26. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  27. $strongarm->api_version = 1;
  28. $strongarm->name = 'node_content_enabled';
  29. $strongarm->value = TRUE;
  30. $export['node_content_enabled'] = $strongarm;
  31. $strongarm = new stdClass();
  32. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  33. $strongarm->api_version = 1;
  34. $strongarm->name = 'node_options_defaultcontent_demo';
  35. $strongarm->value = array(
  36. 0 => 'status',
  37. );
  38. $export['node_options_defaultcontent_demo'] = $strongarm;
  39. $strongarm = new stdClass();
  40. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  41. $strongarm->api_version = 1;
  42. $strongarm->name = 'node_preview_defaultcontent_demo';
  43. $strongarm->value = '0';
  44. $export['node_preview_defaultcontent_demo'] = $strongarm;
  45. $strongarm = new stdClass();
  46. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  47. $strongarm->api_version = 1;
  48. $strongarm->name = 'node_submitted_defaultcontent_demo';
  49. $strongarm->value = 1;
  50. $export['node_submitted_defaultcontent_demo'] = $strongarm;
  51. return $export;
  52. }