273 lines
9.5 KiB
PHP
273 lines
9.5 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* frequently_asked_questions.strongarm.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_strongarm().
|
|
*/
|
|
function frequently_asked_questions_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 = 'faq_answer_category_name';
|
|
$strongarm->value = 0;
|
|
$export['faq_answer_category_name'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_answer_label';
|
|
$strongarm->value = 'A:';
|
|
$export['faq_answer_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 = 'faq_back_to_top';
|
|
$strongarm->value = 'Back to Top';
|
|
$export['faq_back_to_top'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_category_display';
|
|
$strongarm->value = 'categories_inline';
|
|
$export['faq_category_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 = 'faq_category_hide_qa_accordion';
|
|
$strongarm->value = 1;
|
|
$export['faq_category_hide_qa_accordion'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_category_listing';
|
|
$strongarm->value = 'ul';
|
|
$export['faq_category_listing'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_count';
|
|
$strongarm->value = 0;
|
|
$export['faq_count'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_custom_breadcrumbs';
|
|
$strongarm->value = 1;
|
|
$export['faq_custom_breadcrumbs'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_default_sorting';
|
|
$strongarm->value = 'DESC';
|
|
$export['faq_default_sorting'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_description';
|
|
$strongarm->value = 'We hope that you\'ll find the appropriate answer to your question here !';
|
|
$export['faq_description'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_disable_node_links';
|
|
$strongarm->value = 1;
|
|
$export['faq_disable_node_links'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_display';
|
|
$strongarm->value = 'hide_answer';
|
|
$export['faq_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 = 'faq_group_questions_top';
|
|
$strongarm->value = 0;
|
|
$export['faq_group_questions_top'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_hide_child_terms';
|
|
$strongarm->value = 0;
|
|
$export['faq_hide_child_terms'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_hide_qa_accordion';
|
|
$strongarm->value = 1;
|
|
$export['faq_hide_qa_accordion'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_omit_vocabulary';
|
|
$strongarm->value = array(
|
|
15 => '15',
|
|
4 => '4',
|
|
14 => '14',
|
|
16 => '16',
|
|
17 => 0,
|
|
);
|
|
$export['faq_omit_vocabulary'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_qa_mark';
|
|
$strongarm->value = 0;
|
|
$export['faq_qa_mark'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_question_label';
|
|
$strongarm->value = 'Q:';
|
|
$export['faq_question_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 = 'faq_question_length';
|
|
$strongarm->value = 'short';
|
|
$export['faq_question_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 = 'faq_question_listing';
|
|
$strongarm->value = 'ul';
|
|
$export['faq_question_listing'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_question_long_form';
|
|
$strongarm->value = 1;
|
|
$export['faq_question_long_form'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_show_expand_all';
|
|
$strongarm->value = 1;
|
|
$export['faq_show_expand_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 = 'faq_show_node_links';
|
|
$strongarm->value = 0;
|
|
$export['faq_show_node_links'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_show_term_page_children';
|
|
$strongarm->value = 0;
|
|
$export['faq_show_term_page_children'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_title';
|
|
$strongarm->value = 'Frequently Asked Questions';
|
|
$export['faq_title'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_use_categories';
|
|
$strongarm->value = 1;
|
|
$export['faq_use_categories'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'faq_use_teaser';
|
|
$strongarm->value = 0;
|
|
$export['faq_use_teaser'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'nodeformscols_field_placements_faq_default';
|
|
$strongarm->value = array(
|
|
'title' => array(
|
|
'region' => 'main',
|
|
'weight' => '0',
|
|
'has_required' => TRUE,
|
|
'title' => 'Question',
|
|
),
|
|
'additional_settings' => array(
|
|
'region' => 'main',
|
|
'weight' => '4',
|
|
'has_required' => FALSE,
|
|
'title' => 'Vertical tabs',
|
|
'hidden' => 0,
|
|
),
|
|
'actions' => array(
|
|
'region' => 'right',
|
|
'weight' => '3',
|
|
'has_required' => FALSE,
|
|
'title' => 'Enregistrer',
|
|
'hidden' => 0,
|
|
),
|
|
'language' => array(
|
|
'region' => 'right',
|
|
'weight' => '1',
|
|
'has_required' => FALSE,
|
|
'title' => 'Langue',
|
|
'hidden' => 0,
|
|
),
|
|
'detailed_question' => array(
|
|
'region' => 'main',
|
|
'weight' => '2',
|
|
'has_required' => FALSE,
|
|
'title' => 'Question details',
|
|
'hidden' => 0,
|
|
),
|
|
'body' => array(
|
|
'region' => 'main',
|
|
'weight' => '3',
|
|
'has_required' => FALSE,
|
|
'title' => 'Answer',
|
|
'hidden' => 0,
|
|
),
|
|
'field_categories' => array(
|
|
'region' => 'right',
|
|
'weight' => '0',
|
|
'has_required' => TRUE,
|
|
'title' => 'Categories',
|
|
),
|
|
'workflow' => array(
|
|
'region' => 'right',
|
|
'weight' => '2',
|
|
'has_required' => FALSE,
|
|
'title' => 'Publication',
|
|
'collapsed' => 0,
|
|
'hidden' => 0,
|
|
),
|
|
);
|
|
$export['nodeformscols_field_placements_faq_default'] = $strongarm;
|
|
|
|
return $export;
|
|
}
|