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 | 
|---|---|---|---|
| Role | class | core/ | 
                                                                                        Defines the user role entity class. | 
| 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::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::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::postLoad | function | core/ | 
                                                                                        Acts on loaded entities. | 
| Role::prepareRow | function | core/ | 
                                                                                        Adds additional data to the row. | 
| Role::prepareRow | function | core/ | 
                                                                                        Adds additional data to the row. | 
| Role::preSave | function | core/ | 
                                                                                        Acts on an entity before the presave hook is invoked. | 
| Role::query | function | core/ | 
                                                                                        |
| Role::query | function | core/ | 
                                                                                        |
| Role::revokePermission | function | core/ | 
                                                                                        Revokes a permissions from the user role. | 
| Role::setIsAdmin | function | core/ | 
                                                                                        Sets the role to be an admin role. | 
| Role::setWeight | function | core/ | 
                                                                                        Sets the weight to the given value. | 
| Role::summaryTitle | function | core/ | 
                                                                                        Returns the summary of the settings in the display. | 
| Role::validateOptionsForm | function | core/ | 
                                                                                        Validate the options form. | 
| Role::__construct | function | core/ | 
                                                                                        Constructs a Role object. | 
| RoleAccessCheck | class | core/ | 
                                                                                        Determines access to routes based on roles. | 
| RoleAccessCheck.php | file | core/ | 
                                                                                        |
| RoleAccessCheck::access | function | core/ | 
                                                                                        Checks access. | 
| RoleAccessCheckTest | class | core/ | 
                                                                                        @coversDefaultClass \Drupal\user\Access\RoleAccessCheck[[api-linebreak]] @group Access @group Route  | 
              
| RoleAccessCheckTest.php | file | core/ | 
                                                                                        |
| RoleAccessCheckTest::getTestRouteCollection | function | core/ | 
                                                                                        Generates the test route collection. | 
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.