PageRenderTime 29ms CodeModel.GetById 23ms app.highlight 5ms RepoModel.GetById 0ms app.codeStats 0ms

/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/**
 8 * Implements hook_strongarm().
 9 */
10function defaultcontent_demo_strongarm() {
11  $export = array();
12
13  $strongarm = new stdClass();
14  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
15  $strongarm->api_version = 1;
16  $strongarm->name = 'menu_options_defaultcontent_demo';
17  $strongarm->value = array(
18    0 => 'menu-defaultcontent-demo',
19  );
20  $export['menu_options_defaultcontent_demo'] = $strongarm;
21
22  $strongarm = new stdClass();
23  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
24  $strongarm->api_version = 1;
25  $strongarm->name = 'menu_parent_defaultcontent_demo';
26  $strongarm->value = 'menu-defaultcontent-demo:0';
27  $export['menu_parent_defaultcontent_demo'] = $strongarm;
28
29  $strongarm = new stdClass();
30  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
31  $strongarm->api_version = 1;
32  $strongarm->name = 'node_content_enabled';
33  $strongarm->value = TRUE;
34  $export['node_content_enabled'] = $strongarm;
35
36  $strongarm = new stdClass();
37  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
38  $strongarm->api_version = 1;
39  $strongarm->name = 'node_options_defaultcontent_demo';
40  $strongarm->value = array(
41    0 => 'status',
42  );
43  $export['node_options_defaultcontent_demo'] = $strongarm;
44
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_preview_defaultcontent_demo';
49  $strongarm->value = '0';
50  $export['node_preview_defaultcontent_demo'] = $strongarm;
51
52  $strongarm = new stdClass();
53  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
54  $strongarm->api_version = 1;
55  $strongarm->name = 'node_submitted_defaultcontent_demo';
56  $strongarm->value = 1;
57  $export['node_submitted_defaultcontent_demo'] = $strongarm;
58
59  return $export;
60}