Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
user.module
»
user_roles
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
6 calls to user_roles()
EntityOperationsTest::testEntityOperationAlter
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityOperationsTest.php
Checks that
hook_entity_operation_alter
() can add an operation.
FilterFormatStorageController::postSave
in drupal/
core/
modules/
filter/
lib/
Drupal/
filter/
FilterFormatStorageController.php
Overrides
\Drupal\Core\Config\Entity\ConfigStorageController::postSave
().
Roles::pre_render
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Plugin/
views/
field/
Roles.php
Run before any fields are rendered.
theme_comment_post_forbidden
in drupal/
core/
modules/
comment/
comment.module
Returns HTML for a "you can't post comments" notice.
UserRoleAdminTest::testRoleWeightOrdering
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserRoleAdminTest.php
Test user role weight change operation and ordering.
user_role_names
in drupal/
core/
modules/
user/
user.module
Retrieve an array of roles matching specified conditions.