faq.variable.inc 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * Implements hook_variable_info().
  4. */
  5. function faq_variable_info($options) {
  6. $variable['faq_title'] = array(
  7. 'title' => t('FAQ page title', array(), $options),
  8. 'description' => t('FAQ page title', array(), $options),
  9. 'type' => 'string',
  10. 'access' => 'administer faq',
  11. );
  12. $variable['faq_description'] = array(
  13. 'title' => t('FAQ page description', array(), $options),
  14. 'description' => t('FAQ page description', array(), $options),
  15. 'type' => 'string',
  16. 'access' => 'administer faq',
  17. );
  18. $variable['faq_question_label'] = array(
  19. 'title' => t('FAQ question label', array(), $options),
  20. 'description' => t('FAQ question label', array(), $options),
  21. 'type' => 'string',
  22. 'access' => 'administer faq',
  23. );
  24. $variable['faq_answer_label'] = array(
  25. 'title' => t('FAQ answer label', array(), $options),
  26. 'description' => t('FAQ answer label', array(), $options),
  27. 'type' => 'string',
  28. 'access' => 'administer faq',
  29. );
  30. $variable['faq_back_to_top'] = array(
  31. 'title' => t('FAQ "back to top" link', array(), $options),
  32. 'description' => t('FAQ "back to top" link', array(), $options),
  33. 'type' => 'string',
  34. 'access' => 'administer faq',
  35. );
  36. return $variable;
  37. }