function webform_hints_variable_info in Webform Hints 7
Implements hook_variable_info().
File
- ./
webform_hints.module, line 112 - This module applies the titles of webform components as placeholder hints.
Code
function webform_hints_variable_info($options) {
// Webform Hints variables with multilingual support using i18n_variable.
$variables['webform_hints_required'] = array(
'type' => 'string',
'title' => t('Required indicator', array(), $options),
'default' => WEBFORM_HINTS_DEFAULT_REQUIRED_INDICATOR,
'description' => t('Appends to the hint text of a required component.', array(), $options),
'required' => TRUE,
'group' => 'webform_hints',
);
return $variables;
}