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 | 
|---|---|---|---|
| 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. | 
| RoleAccessCheckTest::roleAccessProvider | function | core/ | 
                                                                                        Provides data for the role access test. | 
| RoleAccessCheckTest::testRoleAccess | function | core/ | 
                                                                                        Tests role requirements on routes. | 
| RoleAccessControlHandler | class | core/ | 
                                                                                        Defines the access control handler for the user role entity type. | 
| RoleAccessControlHandler.php | file | core/ | 
                                                                                        |
| RoleAccessControlHandler::checkAccess | function | core/ | 
                                                                                        Performs access checks. | 
| RoleForm | class | core/ | 
                                                                                        Form controller for the role entity edit forms. | 
| RoleForm.php | file | core/ | 
                                                                                        |
| RoleForm::form | function | core/ | 
                                                                                        Gets the actual form array to be built. | 
| RoleForm::save | function | core/ | 
                                                                                        Form submission handler for the 'save' action. | 
| RoleHalJsonAnonTest | class | core/ | 
                                                                                        @group hal @group legacy  | 
              
| RoleHalJsonAnonTest.php | file | core/ | 
                                                                                        |
| RoleHalJsonAnonTest::$defaultTheme | property | core/ | 
                                                                                        The theme to install as the default for testing. | 
| RoleHalJsonAnonTest::$format | property | core/ | 
                                                                                        The format to use in this test. | 
| RoleHalJsonAnonTest::$mimeType | property | core/ | 
                                                                                        The MIME type that corresponds to $format. | 
| RoleHalJsonAnonTest::$modules | property | core/ | 
                                                                                        Modules to install. | 
| RoleHalJsonBasicAuthTest | class | core/ | 
                                                                                        @group hal @group legacy  | 
              
| RoleHalJsonBasicAuthTest.php | file | core/ | 
                                                                                        |
| RoleHalJsonBasicAuthTest::$auth | property | core/ | 
                                                                                        The authentication mechanism to use in this test. | 
| RoleHalJsonBasicAuthTest::$defaultTheme | property | core/ | 
                                                                                        The theme to install as the default for testing. | 
| RoleHalJsonBasicAuthTest::$format | property | core/ | 
                                                                                        The format to use in this test. | 
| RoleHalJsonBasicAuthTest::$mimeType | property | core/ | 
                                                                                        The MIME type that corresponds to $format. | 
| RoleHalJsonBasicAuthTest::$modules | property | core/ | 
                                                                                        Modules to install. | 
| RoleHalJsonCookieTest | class | core/ | 
                                                                                        @group hal @group legacy  | 
              
| RoleHalJsonCookieTest.php | file | core/ | 
                                                                                        |
| RoleHalJsonCookieTest::$auth | property | core/ | 
                                                                                        The authentication mechanism to use in this test. | 
| RoleHalJsonCookieTest::$defaultTheme | property | core/ | 
                                                                                        The theme to install as the default for testing. | 
| RoleHalJsonCookieTest::$format | property | core/ | 
                                                                                        The format to use in this test. | 
| RoleHalJsonCookieTest::$mimeType | property | core/ | 
                                                                                        The MIME type that corresponds to $format. | 
| RoleHalJsonCookieTest::$modules | property | core/ | 
                                                                                        Modules to install. | 
| RoleInterface | interface | core/ | 
                                                                                        Provides an interface defining a user role entity. | 
| RoleInterface.php | file | core/ | 
                                                                                        |
| RoleInterface::ANONYMOUS_ID | constant | core/ | 
                                                                                        Role ID for anonymous users; should match the 'role' entity ID. | 
| RoleInterface::AUTHENTICATED_ID | constant | core/ | 
                                                                                        Role ID for authenticated users; should match the 'role' entity ID. | 
| RoleInterface::getPermissions | function | core/ | 
                                                                                        Returns a list of permissions assigned to the role. | 
| RoleInterface::getWeight | function | core/ | 
                                                                                        Returns the weight. | 
| RoleInterface::grantPermission | function | core/ | 
                                                                                        Grant permissions to the role. | 
| RoleInterface::hasPermission | function | core/ | 
                                                                                        Checks if the role has a permission. | 
| RoleInterface::isAdmin | function | core/ | 
                                                                                        Indicates that a role has all available permissions. | 
| RoleInterface::revokePermission | function | core/ | 
                                                                                        Revokes a permissions from the user role. | 
| RoleInterface::setIsAdmin | function | core/ | 
                                                                                        Sets the role to be an admin role. | 
| RoleInterface::setWeight | function | core/ | 
                                                                                        Sets the weight to the given value. | 
| RoleJsonAnonTest | class | core/ | 
                                                                                        @group rest | 
| RoleJsonAnonTest.php | file | core/ | 
                                                                                        |
| RoleJsonAnonTest::$defaultTheme | property | core/ | 
                                                                                        The theme to install as the default for testing. | 
| RoleJsonAnonTest::$format | property | core/ | 
                                                                                        The format to use in this test. | 
Pagination
- Previous page
 - Page 4
 - Next page
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.