function commons_search_strongarm in Drupal Commons 7.3
Implements hook_strongarm().
File
- modules/
commons/ commons_search/ commons_search.strongarm.inc, line 10 - commons_search.strongarm.inc
Code
function commons_search_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 = 'custom_search_any_force';
$strongarm->value = 1;
$export['custom_search_any_force'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_any_restricts';
$strongarm->value = 0;
$export['custom_search_any_restricts'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_content_types_region';
$strongarm->value = 'block';
$export['custom_search_content_types_region'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_content_types_weight';
$strongarm->value = '0';
$export['custom_search_content_types_weight'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_negative_display';
$strongarm->value = 0;
$export['custom_search_criteria_negative_display'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_negative_label';
$strongarm->value = 'Containing none of the words';
$export['custom_search_criteria_negative_label'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_negative_region';
$strongarm->value = 'block';
$export['custom_search_criteria_negative_region'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_negative_weight';
$strongarm->value = '8';
$export['custom_search_criteria_negative_weight'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_or_display';
$strongarm->value = 0;
$export['custom_search_criteria_or_display'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_or_label';
$strongarm->value = 'Containing any of the words';
$export['custom_search_criteria_or_label'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_or_region';
$strongarm->value = 'block';
$export['custom_search_criteria_or_region'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_or_weight';
$strongarm->value = '6';
$export['custom_search_criteria_or_weight'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_phrase_display';
$strongarm->value = 0;
$export['custom_search_criteria_phrase_display'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_phrase_label';
$strongarm->value = 'Containing the phrase';
$export['custom_search_criteria_phrase_label'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_phrase_region';
$strongarm->value = 'block';
$export['custom_search_criteria_phrase_region'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_criteria_phrase_weight';
$strongarm->value = '7';
$export['custom_search_criteria_phrase_weight'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_custom_paths_region';
$strongarm->value = 'block';
$export['custom_search_custom_paths_region'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_custom_paths_weight';
$strongarm->value = '9';
$export['custom_search_custom_paths_weight'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_delta';
$strongarm->value = '';
$export['custom_search_delta'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_image';
$strongarm->value = '';
$export['custom_search_image'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_image_path';
$strongarm->value = '';
$export['custom_search_image_path'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_label';
$strongarm->value = '';
$export['custom_search_label'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_label_visibility';
$strongarm->value = 1;
$export['custom_search_label_visibility'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_max_length';
$strongarm->value = '128';
$export['custom_search_max_length'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_node_types';
$strongarm->value = array(
'document' => 0,
'event' => 0,
'group' => 0,
'notice' => 0,
'page' => 0,
'post' => 0,
'wiki' => 0,
);
$export['custom_search_node_types'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_node_types_excluded';
$strongarm->value = array(
'document' => 0,
'event' => 0,
'group' => 0,
'notice' => 0,
'page' => 0,
'post' => 0,
'wiki' => 0,
);
$export['custom_search_node_types_excluded'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_order';
$strongarm->value = array(
'search_box' => array(
'sort' => '-1',
'region' => 'block',
),
'criteria_or' => array(
'sort' => '6',
'region' => 'block',
),
'criteria_phrase' => array(
'sort' => '7',
'region' => 'block',
),
'criteria_negative' => array(
'sort' => '8',
'region' => 'block',
),
'custom_paths' => array(
'sort' => '9',
'region' => 'block',
),
'submit_button' => array(
'sort' => '10',
'region' => 'block',
),
'content_types' => array(
'sort' => '0',
'region' => 'block',
),
);
$export['custom_search_order'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_paths';
$strongarm->value = '';
$export['custom_search_paths'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_paths_selector';
$strongarm->value = 'select';
$export['custom_search_paths_selector'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_paths_selector_label';
$strongarm->value = 'Customize your search';
$export['custom_search_paths_selector_label'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_paths_selector_label_visibility';
$strongarm->value = 0;
$export['custom_search_paths_selector_label_visibility'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_search_box_region';
$strongarm->value = 'block';
$export['custom_search_search_box_region'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_search_box_weight';
$strongarm->value = '-1';
$export['custom_search_search_box_weight'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_size';
$strongarm->value = '15';
$export['custom_search_size'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_submit_button_region';
$strongarm->value = 'block';
$export['custom_search_submit_button_region'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_submit_button_weight';
$strongarm->value = '10';
$export['custom_search_submit_button_weight'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_submit_text';
$strongarm->value = 'Search';
$export['custom_search_submit_text'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_text';
$strongarm->value = '';
$export['custom_search_text'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_type_selector';
$strongarm->value = 'select';
$export['custom_search_type_selector'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_type_selector_all';
$strongarm->value = 'Site';
$export['custom_search_type_selector_all'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_type_selector_label';
$strongarm->value = 'Search for';
$export['custom_search_type_selector_label'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'custom_search_type_selector_label_visibility';
$strongarm->value = 0;
$export['custom_search_type_selector_label_visibility'] = $strongarm;
return $export;
}