You are here

17 calls to user_role_names() in Drupal 10

AccountForm::form in core/modules/user/src/AccountForm.php
Gets the actual form array to be built.
BulkFormTest::testBulkForm in core/modules/user/tests/src/Functional/Views/BulkFormTest.php
Tests the user bulk form.
ChangeUserRoleBase::buildConfigurationForm in core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php
FilterFormatAccessTest::testFormatRoles in core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php
Tests if text format is available to a role.
FilterFormatFormBase::form in core/modules/filter/src/FilterFormatFormBase.php
Gets the actual form array to be built.
FilterPluginBase::buildExposeForm in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Options form subform for exposed filter options.
filter_get_roles_by_format in core/modules/filter/filter.module
Retrieves a list of roles that are allowed to use a given text format.
Permissions::query in core/modules/user/src/Plugin/views/filter/Permissions.php
Replace the configured permission with a filter by all roles that have this permission.
Role::buildOptionsForm in core/modules/user/src/Plugin/views/access/Role.php
Provide a form to edit options for this plugin.
Role::summaryTitle in core/modules/user/src/Plugin/views/access/Role.php
Returns the summary of the settings in the display.
Roles::getValueOptions in core/modules/user/src/Plugin/views/filter/Roles.php
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.
RoleSettingsForm::buildForm in core/modules/user/src/Form/RoleSettingsForm.php
Form constructor.
User::buildOptionsForm in core/modules/user/src/Plugin/views/argument_validator/User.php
UserListBuilder::buildRow in core/modules/user/src/UserListBuilder.php
Builds a row for an entity in the entity listing.
UserRole::buildConfigurationForm in core/modules/user/src/Plugin/Condition/UserRole.php
UserRole::summary in core/modules/user/src/Plugin/Condition/UserRole.php
UserSelection::buildConfigurationForm in core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php