8ac59801be
Update commons modules to release 7.12, and move the codebase under modules/commons instead of constant fetching from remote repository. The commons.make file removed so it is not required to rebuild groups distribution. Change-Id: I3be393ba1af34427e2915b18ab1ad718fd4e54db
120 lines
4.2 KiB
PHP
120 lines
4.2 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* commons_documents.strongarm.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_strongarm().
|
|
*/
|
|
function commons_documents_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_document';
|
|
$strongarm->value = 0;
|
|
$export['comment_anonymous_document'] = $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_document';
|
|
$strongarm->value = 1;
|
|
$export['comment_default_mode_document'] = $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_document';
|
|
$strongarm->value = '50';
|
|
$export['comment_default_per_page_document'] = $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_document';
|
|
$strongarm->value = '2';
|
|
$export['comment_document'] = $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_document';
|
|
$strongarm->value = 1;
|
|
$export['comment_form_location_document'] = $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_document';
|
|
$strongarm->value = '1';
|
|
$export['comment_preview_document'] = $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_document';
|
|
$strongarm->value = 1;
|
|
$export['comment_subject_field_document'] = $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__document';
|
|
$strongarm->value = array(
|
|
'view_modes' => array(),
|
|
'extra_fields' => array(
|
|
'form' => array(
|
|
'title' => array(
|
|
'weight' => '0',
|
|
),
|
|
),
|
|
'display' => array(),
|
|
),
|
|
);
|
|
$export['field_bundle_settings_node__document'] = $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_document';
|
|
$strongarm->value = array(
|
|
0 => 'main-menu',
|
|
);
|
|
$export['menu_options_document'] = $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_document';
|
|
$strongarm->value = 'main-menu:0';
|
|
$export['menu_parent_document'] = $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_document';
|
|
$strongarm->value = array(
|
|
0 => 'status',
|
|
);
|
|
$export['node_options_document'] = $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_document';
|
|
$strongarm->value = '1';
|
|
$export['node_preview_document'] = $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_document';
|
|
$strongarm->value = 1;
|
|
$export['node_submitted_document'] = $strongarm;
|
|
|
|
return $export;
|
|
}
|