user.role.editor.yml |
file |
core/profiles/demo_umami/config/install/user.role.editor.yml |
core/profiles/demo_umami/config/install/user.role.editor.yml |
User::addRole |
function |
core/modules/user/src/Entity/User.php |
Add a role to a user. |
User::getRoles |
function |
core/modules/user/src/Entity/User.php |
|
User::getRoleStorage |
function |
core/modules/user/src/Entity/User.php |
Returns the role storage object. |
User::hasRole |
function |
core/modules/user/src/Entity/User.php |
Whether a user has a certain role. |
User::removeRole |
function |
core/modules/user/src/Entity/User.php |
Remove a role from a user. |
UserCreationTrait::createAdminRole |
function |
core/modules/user/tests/src/Traits/UserCreationTrait.php |
Creates an administrative role. |
UserCreationTrait::createRole |
function |
core/modules/user/tests/src/Traits/UserCreationTrait.php |
Creates a role with specified permissions. |
UserEntityReferenceTest::$role1 |
property |
core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php |
A randomly-generated role for testing purposes. |
UserEntityReferenceTest::$role2 |
property |
core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php |
A randomly-generated role for testing purposes. |
UserEntityReferenceTest::testUserSelectionByRole |
function |
core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php |
Tests user selection by roles. |
UserInterface::addRole |
function |
core/modules/user/src/UserInterface.php |
Add a role to a user. |
UserInterface::hasRole |
function |
core/modules/user/src/UserInterface.php |
Whether a user has a certain role. |
UserInterface::removeRole |
function |
core/modules/user/src/UserInterface.php |
Remove a role from a user. |
UserKernelTestBase::$roleStorage |
property |
core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php |
The entity storage for roles. |
UserPermissionsForm::$roleStorage |
property |
core/modules/user/src/Form/UserPermissionsForm.php |
The role storage. |
UserPermissionsForm::getRoles |
function |
core/modules/user/src/Form/UserPermissionsForm.php |
Gets the roles to display in this form. |
UserPermissionsRoleSpecificForm |
class |
core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php |
Provides the user permissions administration form for a specific role. |
UserPermissionsRoleSpecificForm.php |
file |
core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php |
|
UserPermissionsRoleSpecificForm::$userRole |
property |
core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php |
The specific role for this form. |
UserPermissionsRoleSpecificForm::buildForm |
function |
core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php |
Builds the user permissions administration form for a specific role. |
UserPermissionsRoleSpecificForm::getRoles |
function |
core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php |
Gets the roles to display in this form. |
UserPermissionsTest::testAdministratorRole |
function |
core/modules/user/tests/src/Functional/UserPermissionsTest.php |
Tests assigning of permissions for the administrator role. |
UserPermissionsTest::testUserRoleChangePermissions |
function |
core/modules/user/tests/src/Functional/UserPermissionsTest.php |
Verify proper permission changes by user_role_change_permissions(). |
UserRole |
class |
core/modules/user/src/Plugin/Condition/UserRole.php |
Provides a 'User Role' condition. |
UserRole.php |
file |
core/modules/user/src/Plugin/Condition/UserRole.php |
|
UserRole::buildConfigurationForm |
function |
core/modules/user/src/Plugin/Condition/UserRole.php |
Form constructor. |
UserRole::defaultConfiguration |
function |
core/modules/user/src/Plugin/Condition/UserRole.php |
Gets default configuration for this plugin. |
UserRole::evaluate |
function |
core/modules/user/src/Plugin/Condition/UserRole.php |
Evaluates the condition and returns TRUE or FALSE accordingly. |
UserRole::getCacheContexts |
function |
core/modules/user/src/Plugin/Condition/UserRole.php |
|
UserRole::submitConfigurationForm |
function |
core/modules/user/src/Plugin/Condition/UserRole.php |
Form submission handler. |
UserRole::summary |
function |
core/modules/user/src/Plugin/Condition/UserRole.php |
Provides a human readable summary of the condition's configuration. |
UserRoleAdminTest |
class |
core/modules/user/tests/src/Functional/UserRoleAdminTest.php |
Tests adding, editing and deleting user roles and changing role weights. |
UserRoleAdminTest.php |
file |
core/modules/user/tests/src/Functional/UserRoleAdminTest.php |
|
UserRoleAdminTest::$adminUser |
property |
core/modules/user/tests/src/Functional/UserRoleAdminTest.php |
User with admin privileges. |
UserRoleAdminTest::$defaultTheme |
property |
core/modules/user/tests/src/Functional/UserRoleAdminTest.php |
The theme to install as the default for testing. |
UserRoleAdminTest::$modules |
property |
core/modules/user/tests/src/Functional/UserRoleAdminTest.php |
Modules to install. |
UserRoleAdminTest::setUp |
function |
core/modules/user/tests/src/Functional/UserRoleAdminTest.php |
|
UserRoleAdminTest::testRoleAdministration |
function |
core/modules/user/tests/src/Functional/UserRoleAdminTest.php |
Tests adding, renaming and deleting roles. |
UserRoleAdminTest::testRoleWeightOrdering |
function |
core/modules/user/tests/src/Functional/UserRoleAdminTest.php |
Tests user role weight change operation and ordering. |
UserRoleConditionTest |
class |
core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php |
Tests the user role condition. |
UserRoleConditionTest.php |
file |
core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php |
|
UserRoleConditionTest::$anonymous |
property |
core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php |
An anonymous user for testing purposes. |
UserRoleConditionTest::$authenticated |
property |
core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php |
An authenticated user for testing purposes. |
UserRoleConditionTest::$manager |
property |
core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php |
The condition plugin manager. |
UserRoleConditionTest::$modules |
property |
core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php |
Modules to install. |
UserRoleConditionTest::$role |
property |
core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php |
A custom role for testing purposes. |
UserRoleConditionTest::setUp |
function |
core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php |
|
UserRoleConditionTest::testConditions |
function |
core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php |
Tests the user_role condition. |
UserRoleDeleteTest |
class |
core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php |
Tests the handling of user_role entity from the user module. |