Search for role
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Role | class | core/ |
Defines the user role entity class. |
Role | class | core/ |
Access plugin that provides role-based access control. |
Role | class | core/ |
Drupal 6 role source from database. |
Role | class | core/ |
Drupal 7 role source from database. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
RemoveRoleUserTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\Action\RemoveRoleUser @group user |
RemoveRoleUserTest.php | file | core/ |
|
RemoveRoleUserTest::testExecuteRemoveExistingRole | function | core/ |
Tests the execute method on a user with a role. |
RemoveRoleUserTest::testExecuteRemoveNonExistingRole | function | core/ |
Tests the execute method on a user without a specific role. |
RenderCacheTest::testUser1RolesContext | function | core/ |
Tests that user 1 has a different roles context with the same roles. |
RendererTestBase::$currentUserRole | property | core/ |
The simulated "current" user role, for use in tests with cache contexts. |
ResourceTestBase::grantPermissionsToAnonymousRole | function | core/ |
Grants permissions to the anonymous role. |
ResourceTestBase::grantPermissionsToAuthenticatedRole | function | core/ |
Grants permissions to the authenticated role. |
ResourceTestBase::grantPermissionsToTestedRole | function | core/ |
Grants permissions to the tested role: anonymous or authenticated. |
ResourceTestBase::grantPermissionsToTestedRole | function | core/ |
Grants permissions to the authenticated role. |
ResourceTestBase::revokePermissionsFromTestedRole | function | core/ |
Revokes permissions from the authenticated role. |
Role | class | core/ |
Defines the user role entity class. |
Role | class | core/ |
Access plugin that provides role-based access control. |
Role | class | core/ |
Drupal 6 role source from database. |
Role | class | core/ |
Drupal 7 role source from database. |
Role.php | file | core/ |
|
Role.php | file | core/ |
|
Role.php | file | core/ |
|
Role.php | file | core/ |
|
Role::$filterPermissions | property | core/ |
List of filter IDs per role IDs. |
Role::$id | property | core/ |
The machine name of this role. |
Role::$is_admin | property | core/ |
An indicator whether the role has all permissions. |
Role::$label | property | core/ |
The human-readable label of this role. |
Role::$permissions | property | core/ |
The permissions belonging to this role. |
Role::$roleStorage | property | core/ |
The role storage. |
Role::$usesOptions | property | core/ |
Denotes whether the plugin has an additional options form. |
Role::$weight | property | core/ |
The weight of this role in administrative listings. |
Role::access | function | core/ |
Determine if the current user has access or not. |
Role::alterRouteDefinition | function | core/ |
Allows access plugins to alter the route definition of a view. |
Role::buildOptionsForm | function | core/ |
Provide a form to edit options for this plugin. |
Role::calculateDependencies | function | core/ |
Calculates dependencies for the configured plugin. |
Role::calculateDependencies | function | core/ |
Calculates dependencies and stores them in the dependency property. |
Role::create | function | core/ |
Creates an instance of the plugin. |
Role::defineOptions | function | core/ |
Information about options for all kinds of purposes will be held here. |
Role::fields | function | core/ |
Returns available fields on the source. |
Role::fields | function | core/ |
Returns available fields on the source. |
Role::getAllValidPermissions | function | core/ |
Returns all valid permissions. |
Role::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
Role::getCacheMaxAge | function | core/ |
The maximum age for which this object may be cached. |
Role::getCacheTags | function | core/ |
The cache tags associated with this object. |
Role::getIds | function | core/ |
Defines the source fields uniquely identifying a source row. |
Role::getIds | function | core/ |
Defines the source fields uniquely identifying a source row. |
Role::getPermissions | function | core/ |
Returns a list of permissions assigned to the role. |
Role::getWeight | function | core/ |
Returns the weight. |
Role::grantPermission | function | core/ |
Grant permissions to the role. |
Role::hasPermission | function | core/ |
Checks if the role has a permission. |
Role::initializeIterator | function | core/ |
Initializes the iterator with the source data. |
Role::isAdmin | function | core/ |
Indicates that a role has all available permissions. |
Role::onDependencyRemoval | function | core/ |
Informs the entity that entities it depends on will be deleted. |
Role::postLoad | function | core/ |
Acts on loaded entities. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.