You are here

function _role_expire_get_role in Role Expire 7

Same name and namespace in other branches
  1. 8 role_expire.module \_role_expire_get_role()
  2. 6 role_expire.module \_role_expire_get_role()
  3. 2.x role_expire.module \_role_expire_get_role()

Helper function; Get valid roles.

Return value

unknown_type

1 call to _role_expire_get_role()
role_expire_cron in ./role_expire.module
Implements hook_cron().

File

./role_expire.module, line 653
Role Expire module

Code

function _role_expire_get_role() {
  $roles = user_roles(TRUE);
  unset($roles[DRUPAL_AUTHENTICATED_RID]);
  return $roles;
}