You are here

faq.variable.inc in Frequently Asked Questions 7.2

Same filename and directory in other branches
  1. 7 faq.variable.inc

Variales for FAQ module.

File

faq.variable.inc
View source
<?php

/**
 * @file
 * Variales for FAQ module.
 */

/**
 * Implements hook_variable_info().
 */
function faq_variable_info($options) {
  $variable['faq_title'] = array(
    'title' => t('FAQ page title', array(), $options),
    'description' => t('FAQ page title', array(), $options),
    'type' => 'string',
    'access' => 'administer faq',
  );
  $variable['faq_description'] = array(
    'title' => t('FAQ page description', array(), $options),
    'description' => t('FAQ page description', array(), $options),
    'type' => 'string',
    'access' => 'administer faq',
  );
  $variable['faq_question_label'] = array(
    'title' => t('FAQ question label', array(), $options),
    'description' => t('FAQ question label', array(), $options),
    'type' => 'string',
    'access' => 'administer faq',
  );
  $variable['faq_answer_label'] = array(
    'title' => t('FAQ answer label', array(), $options),
    'description' => t('FAQ answer label', array(), $options),
    'type' => 'string',
    'access' => 'administer faq',
  );
  $variable['faq_back_to_top'] = array(
    'title' => t('FAQ "back to top" link', array(), $options),
    'description' => t('FAQ "back to top" link', array(), $options),
    'type' => 'string',
    'access' => 'administer faq',
  );
  return $variable;
}

Functions

Namesort descending Description
faq_variable_info Implements hook_variable_info().