BackdropWebTestCase::backdropCreateRole in core/modules/simpletest/backdrop_web_test_case.php
Creates a role with specified permissions.
filter_admin_overview in core/modules/filter/filter.admin.inc
Page callback: Form constructor for a form to list and reorder text formats.
ModuleUninstallTestCase::testUserPermsUninstalled in core/modules/simpletest/tests/module.test
Tests the hook_modules_uninstalled() of the user module.
NodeAccessUnitTest::setUp in core/modules/node/tests/node.test
node_type_form in core/modules/node/node.types.inc
Form constructor for the node type editing form.
UserRoleAdminTestCase::testRoleAdministration in core/modules/user/tests/user.test
Test adding, renaming and deleting roles.
UserRoleAdminTestCase::testRoleWeightChange in core/modules/user/tests/user.test
Test user role weight change operation.
user_modules_installed in core/modules/user/user.module
Implements hook_modules_installed().
user_role_delete in core/modules/user/user.module
Delete a user role from database.
user_role_grant_permissions in core/modules/user/user.module
Grant permissions to a user role.
user_role_has_permission in core/modules/user/user.module
Checks if a user role has a permission.
user_role_load_by_name in core/modules/user/user.module
Legacy wrapper function preserved for backwards-compatibility. This function is no longer used by Backdrop core, since all roles are loaded by name now. See https://docs.backdropcms.org/change-records/converted-user-roles-to-cmi
user_role_revoke_permissions in core/modules/user/user.module
Revoke permissions from a user role.