Skip to main content
Silkscreen CMS API
  • Login
  • Home

Search for roles

You are here

  1. Home »
  2. API reference »
  3. 1.20.x
Name Type Location Description
user_roles function modules/user/user.module Retrieve an array of roles matching specified conditions.
User::$roles property modules/user/user.entity.inc An unindexed list of role names.
user_admin_roles function modules/user/user.admin.inc Form to re-order roles.
views_check_roles function modules/views/views.module Access callback for the views_plugin_access_role access plugin.
AnonymousUser::$roles property includes/anonymous.inc
theme_user_admin_roles function modules/user/user.theme.inc Returns HTML for the role order form.
filter_get_roles_by_format function modules/filter/filter.module Retrieves a list of roles that are allowed to use a given text format.
UserRolesAssignmentTestCase class modules/user/tests/user.test Test role assignment.
user_admin_roles_order_submit function modules/user/user.admin.inc Form submit function. Update the role weights.
views_handler_field_user_roles class modules/user/views/views_handler_field_user_roles.inc Field handler to provide a list of roles.
views_handler_filter_user_roles class modules/user/views/views_handler_filter_user_roles.inc Filter handler for user roles.
views_handler_field_user_roles.inc file modules/user/views/views_handler_field_user_roles.inc Definition of views_handler_field_user_roles.
UserRolesAssignmentTestCase::setUp function modules/user/tests/user.test Sets up a Backdrop site for running functional and integration tests.
views_handler_argument_users_roles class modules/user/views/views_handler_argument_users_roles.inc Allow role names as an argument.
views_handler_filter_user_roles.inc file modules/user/views/views_handler_filter_user_roles.inc Definition of views_handler_filter_user_roles.
views_handler_field_user_roles::query function modules/user/views/views_handler_field_user_roles.inc Called to add the field to a query.
UserRolesAssignmentTestCase::$profile property modules/user/tests/user.test The profile to install as a basis for testing.
views_handler_argument_users_roles.inc file modules/user/views/views_handler_argument_users_roles.inc
LayoutSelectionTest::testRoleSelection function modules/layout/tests/layout.test Test role-based selection of layouts.
StandardInstallTestCase::testRolesExist function modules/simpletest/tests/standard.test Tests existence of test case located in an installation profile module.
UserRolesAssignmentTestCase::$admin_user property modules/user/tests/user.test
views_handler_field_user_roles::construct function modules/user/views/views_handler_field_user_roles.inc Construct a new field handler.
views_handler_filter_user_roles::operators function modules/user/views/views_handler_filter_user_roles.inc Override empty and not empty operator labels to be clearer for user roles.
views_handler_field_user_roles::pre_render function modules/user/views/views_handler_field_user_roles.inc Run before any fields are rendered.
FilterFormatAccessTestCase::testFormatRoles function modules/filter/tests/filter.test Tests if text format is available to a role.
views_handler_field_user_roles::render_item function modules/user/views/views_handler_field_user_roles.inc
views_handler_field_user_roles::add_self_tokens function modules/user/views/views_handler_field_user_roles.inc Add any special tokens this field might use for itself.
views_handler_argument_users_roles::title_query function modules/user/views/views_handler_argument_users_roles.inc Override for specific title lookups.
views_handler_filter_user_roles::get_value_options function modules/user/views/views_handler_filter_user_roles.inc Child classes should be used to override this function and set the 'value options', unless 'options callback' is defined as a valid function or static public method to generate these values.
UserRolesAssignmentTestCase::testCreateUserWithRole function modules/user/tests/user.test Tests that when creating a user the role can be assigned. And that it can be removed again.
views_handler_field_user_roles::document_self_tokens function modules/user/views/views_handler_field_user_roles.inc Document any special tokens this field might use for itself.
UserRolesAssignmentTestCase::testAssignAndRemoveRole function modules/user/tests/user.test Tests that a user can be assigned a role and that the role can be removed again.
UserRolesAssignmentTestCase::userLoadAndCheckRoleAssigned function modules/user/tests/user.test Check role on user object.

Search 1.20.x

Partial match search is supported

API Navigation

  • 1.20.x
  • Topics
  • Classes
  • Functions
  • Files
  • Constants
  • Globals
  • Deprecated
Powered by Silkscreen CMS