You are here

public static function UserRestrictions::getTypeOptions in User restrictions 7

1 call to UserRestrictions::getTypeOptions()
UserRestrictions::getRestrictionTable in ./user_restrictions.classes.inc

File

./user_restrictions.classes.inc, line 213
Contains the classes used by the User restrictions module.

Class

UserRestrictions
The main class used by the User Restrictions module.

Code

public static function getTypeOptions() {
  $context = 'type options';
  $info = module_invoke_all('user_restrictions_info', $context);
  drupal_alter('user_restrictions_info', $info, $context);
  return $info;
}