You are here

function views_handler_filter_views_published_or_roles_has_roles::get_value_options in Views Published or Roles 7

1 call to views_handler_filter_views_published_or_roles_has_roles::get_value_options()
views_handler_filter_views_published_or_roles_has_roles::value_form in handlers/views_handler_filter_views_published_or_roles_has_roles.inc
Options form subform for setting options.

File

handlers/views_handler_filter_views_published_or_roles_has_roles.inc, line 17
Definition of views_handler_filter_views_published_or_roles_has_roles.

Class

views_handler_filter_views_published_or_roles_has_roles
Filter by published status and by role.

Code

function get_value_options() {
  $options = user_roles(TRUE);
  unset($options[DRUPAL_AUTHENTICATED_RID]);
  return $options;
}