Role |
class |
core/modules/user/src/Entity/Role.php |
Defines the user role entity class. |
Role |
class |
core/modules/user/src/Plugin/views/access/Role.php |
Access plugin that provides role-based access control. |
Role |
class |
core/modules/user/src/Plugin/migrate/source/d7/Role.php |
Drupal 7 role source from database. |
Role |
class |
core/modules/user/src/Plugin/migrate/source/d6/Role.php |
Drupal 6 role source from database. |
Role.php |
file |
core/modules/user/src/Entity/Role.php |
|
Role.php |
file |
core/modules/user/src/Plugin/migrate/source/d7/Role.php |
|
Role.php |
file |
core/modules/user/src/Plugin/views/access/Role.php |
|
Role.php |
file |
core/modules/user/src/Plugin/migrate/source/d6/Role.php |
|
Role::$filterPermissions |
property |
core/modules/user/src/Plugin/migrate/source/d6/Role.php |
List of filter IDs per role IDs. |
Role::$id |
property |
core/modules/user/src/Entity/Role.php |
The machine name of this role. |
Role::$is_admin |
property |
core/modules/user/src/Entity/Role.php |
An indicator whether the role has all permissions. |
Role::$label |
property |
core/modules/user/src/Entity/Role.php |
The human-readable label of this role. |
Role::$permissions |
property |
core/modules/user/src/Entity/Role.php |
The permissions belonging to this role. |
Role::$roleStorage |
property |
core/modules/user/src/Plugin/views/access/Role.php |
The role storage. |
Role::$usesOptions |
property |
core/modules/user/src/Plugin/views/access/Role.php |
Denotes whether the plugin has an additional options form. |
Role::$weight |
property |
core/modules/user/src/Entity/Role.php |
The weight of this role in administrative listings. |
Role::access |
function |
core/modules/user/src/Plugin/views/access/Role.php |
Determine if the current user has access or not. |
Role::alterRouteDefinition |
function |
core/modules/user/src/Plugin/views/access/Role.php |
Allows access plugins to alter the route definition of a view. |
Role::buildOptionsForm |
function |
core/modules/user/src/Plugin/views/access/Role.php |
Provide a form to edit options for this plugin. |
Role::calculateDependencies |
function |
core/modules/user/src/Plugin/views/access/Role.php |
Calculates dependencies for the configured plugin. |
Role::calculateDependencies |
function |
core/modules/user/src/Entity/Role.php |
Calculates dependencies and stores them in the dependency property. |
Role::create |
function |
core/modules/user/src/Plugin/views/access/Role.php |
Creates an instance of the plugin. |
Role::defineOptions |
function |
core/modules/user/src/Plugin/views/access/Role.php |
Information about options for all kinds of purposes will be held here. |
Role::fields |
function |
core/modules/user/src/Plugin/migrate/source/d6/Role.php |
Returns available fields on the source. |
Role::fields |
function |
core/modules/user/src/Plugin/migrate/source/d7/Role.php |
Returns available fields on the source. |
Role::getCacheContexts |
function |
core/modules/user/src/Plugin/views/access/Role.php |
The cache contexts associated with this object. |
Role::getCacheMaxAge |
function |
core/modules/user/src/Plugin/views/access/Role.php |
The maximum age for which this object may be cached. |
Role::getCacheTags |
function |
core/modules/user/src/Plugin/views/access/Role.php |
The cache tags associated with this object. |
Role::getIds |
function |
core/modules/user/src/Plugin/migrate/source/d6/Role.php |
Defines the source fields uniquely identifying a source row. |
Role::getIds |
function |
core/modules/user/src/Plugin/migrate/source/d7/Role.php |
Defines the source fields uniquely identifying a source row. |
Role::getPermissions |
function |
core/modules/user/src/Entity/Role.php |
Returns a list of permissions assigned to the role. |
Role::getWeight |
function |
core/modules/user/src/Entity/Role.php |
Returns the weight. |
Role::grantPermission |
function |
core/modules/user/src/Entity/Role.php |
Grant permissions to the role. |
Role::hasPermission |
function |
core/modules/user/src/Entity/Role.php |
Checks if the role has a permission. |
Role::initializeIterator |
function |
core/modules/user/src/Plugin/migrate/source/d6/Role.php |
Initializes the iterator with the source data. |
Role::isAdmin |
function |
core/modules/user/src/Entity/Role.php |
Indicates that a role has all available permissions. |
Role::onDependencyRemoval |
function |
core/modules/user/src/Entity/Role.php |
Informs the entity that entities it depends on will be deleted. |
Role::postLoad |
function |
core/modules/user/src/Entity/Role.php |
Acts on loaded entities. |
Role::prepareRow |
function |
core/modules/user/src/Plugin/migrate/source/d6/Role.php |
Adds additional data to the row. |
Role::prepareRow |
function |
core/modules/user/src/Plugin/migrate/source/d7/Role.php |
Adds additional data to the row. |
Role::preSave |
function |
core/modules/user/src/Entity/Role.php |
Acts on an entity before the presave hook is invoked. |
Role::query |
function |
core/modules/user/src/Plugin/migrate/source/d6/Role.php |
|
Role::query |
function |
core/modules/user/src/Plugin/migrate/source/d7/Role.php |
|
Role::revokePermission |
function |
core/modules/user/src/Entity/Role.php |
Revokes a permissions from the user role. |
Role::setIsAdmin |
function |
core/modules/user/src/Entity/Role.php |
Sets the role to be an admin role. |
Role::setWeight |
function |
core/modules/user/src/Entity/Role.php |
Sets the weight to the given value. |
Role::summaryTitle |
function |
core/modules/user/src/Plugin/views/access/Role.php |
Returns the summary of the settings in the display. |
Role::validateOptionsForm |
function |
core/modules/user/src/Plugin/views/access/Role.php |
Validate the options form. |
Role::__construct |
function |
core/modules/user/src/Plugin/views/access/Role.php |
Constructs a Role object. |
RoleAccessCheck |
class |
core/modules/user/src/Access/RoleAccessCheck.php |
Determines access to routes based on roles. |