7 calls to user_roles()

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.
update_post_update_add_view_update_notifications_permission in core/modules/update/update.post_update.php
Add 'view update notifications' to roles with 'administer site configuration'.
UserRoleAdminTest::testRoleWeightOrdering in core/modules/user/tests/src/Functional/UserRoleAdminTest.php
Tests user role weight change operation and ordering.
user_role_names in core/modules/user/user.module
Retrieves the names of roles matching specified conditions.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.