faq.variable.inc 1.3 KB

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