function commons_posts_strongarm in Drupal Commons 7.3
Implements hook_strongarm().
File
- modules/
commons/ commons_posts/ commons_posts.strongarm.inc, line 10 - commons_posts.strongarm.inc
Code
function commons_posts_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 = 'comment_anonymous_post';
$strongarm->value = 0;
$export['comment_anonymous_post'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'comment_default_mode_post';
$strongarm->value = 1;
$export['comment_default_mode_post'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'comment_default_per_page_post';
$strongarm->value = '50';
$export['comment_default_per_page_post'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'comment_form_location_post';
$strongarm->value = 1;
$export['comment_form_location_post'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'comment_post';
$strongarm->value = '2';
$export['comment_post'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'comment_preview_post';
$strongarm->value = '1';
$export['comment_preview_post'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'comment_subject_field_post';
$strongarm->value = 1;
$export['comment_subject_field_post'] = $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_message__commons_posts_post_created';
$strongarm->value = array(
'view_modes' => array(
'message_notify_email_subject' => array(
'custom_settings' => TRUE,
),
'message_notify_email_body' => array(
'custom_settings' => TRUE,
),
'full' => array(
'custom_settings' => FALSE,
),
'diff_standard' => array(
'custom_settings' => FALSE,
),
'token' => array(
'custom_settings' => FALSE,
),
),
'extra_fields' => array(
'form' => array(),
'display' => array(
'message__message_text__0' => array(
'message_notify_email_subject' => array(
'visible' => TRUE,
'weight' => 0,
),
'message_notify_email_body' => array(
'visible' => FALSE,
'weight' => 0,
),
'default' => array(
'weight' => '0',
'visible' => TRUE,
),
),
'message__message_text__1' => array(
'message_notify_email_subject' => array(
'visible' => FALSE,
'weight' => 0,
),
'message_notify_email_body' => array(
'visible' => TRUE,
'weight' => 0,
),
'default' => array(
'weight' => '1',
'visible' => TRUE,
),
),
'message__message_text__2' => array(
'default' => array(
'weight' => '2',
'visible' => TRUE,
),
),
),
),
);
$export['field_bundle_settings_message__commons_posts_post_created'] = $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__post';
$strongarm->value = array(
'view_modes' => array(),
'extra_fields' => array(
'form' => array(
'title' => array(
'weight' => '-5',
),
),
'display' => array(),
),
);
$export['field_bundle_settings_node__post'] = $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_post';
$strongarm->value = array(
0 => 'main-menu',
);
$export['menu_options_post'] = $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_post';
$strongarm->value = 'main-menu:0';
$export['menu_parent_post'] = $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_post';
$strongarm->value = array(
0 => 'status',
1 => 'revision',
);
$export['node_options_post'] = $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_post';
$strongarm->value = '1';
$export['node_preview_post'] = $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_post';
$strongarm->value = 1;
$export['node_submitted_post'] = $strongarm;
return $export;
}