You are here

function autoassignrole_variable_info in Auto Assign Role 7

Same name and namespace in other branches
  1. 7.2 autoassignrole.variable.inc \autoassignrole_variable_info()

Implements hook_variable_info().

File

./autoassignrole.variable.inc, line 23
Variable default definitions

Code

function autoassignrole_variable_info($options) {
  $variables['autoassignrole_user_fieldset_title'] = array(
    'group' => 'auto_assign_role',
    'type' => 'text',
    'title' => t('User Role Fieldset Title'),
    'description' => t('The title of the fieldset that contains role options.'),
  );
  $variables['autoassignrole_user_title'] = array(
    'group' => 'auto_assign_role',
    'type' => 'text',
    'title' => t('User Role Title'),
    'description' => t('The title of the field that contains the role options the end user sees during registration.'),
  );
  $variables['autoassignrole_user_description'] = array(
    'group' => 'auto_assign_role',
    'type' => 'text_format',
    'title' => t('User Role Description'),
    'description' => t('The description displayed to the end user when they are selecting their role during registration.'),
  );
  return $variables;
}