6 calls to user_roles() in Drupal 8
- EntityOperationsTest::testEntityOperationAlter in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityOperationsTest.php - Checks that hook_entity_operation_alter() can add an operation.
- FilterFormat::postSave in core/
modules/ filter/ src/ Entity/ FilterFormat.php - Acts on a saved entity before the insert or update hook is invoked.
- Roles::preRender in core/
modules/ user/ src/ Plugin/ views/ field/ Roles.php - Runs before any fields are rendered.
- UninstallTest::testUserPermsUninstalled in core/
modules/ system/ tests/ src/ Functional/ Module/ UninstallTest.php - Tests the hook_modules_uninstalled() of the user module.
- UserRoleAdminTest::testRoleWeightOrdering in core/
modules/ user/ tests/ src/ Functional/ UserRoleAdminTest.php - Test user role weight change operation and ordering.
- user_role_names in core/
modules/ user/ user.module - Retrieves the names of roles matching specified conditions.