You are here

function _autoassignrole_get_user_description in Auto Assign Role 7

Same name and namespace in other branches
  1. 7.2 autoassignrole.module \_autoassignrole_get_user_description()

Get the user description filter field data.

Return value

array The user description filter value.

4 calls to _autoassignrole_get_user_description()
AutoassignroleAdminUserTestCase::testAdminUserDescriptionSettings in ./autoassignrole.test
Test admin setting functionality for autoassignrole_user_description.
autoassignrole_form_user_register_form_alter in ./autoassignrole.module
Implements hook_form_FORM_ID_alter() for user_register_form().
autoassignrole_update_7104 in ./autoassignrole.install
Update the user description variable to allow HTML.
autoassignrole_user_settings in ./autoassignrole.admin.inc
Form builder; The settings form for user selectable role assignment.

File

./autoassignrole.module, line 343
The main autoassignrole.module file

Code

function _autoassignrole_get_user_description() {
  $defaults = array(
    'value' => t('Select a role'),
    'format' => filter_default_format(),
  );
  return variable_get('autoassignrole_user_description', $defaults);
}