RoleStorageInterface

Defines an interface for role entity storage classes.

Hierarchy

File

core/modules/user/src/RoleStorageInterface.php, line 10

Namespace

Drupal\user

Members

Name Modifiers Type Description
ConfigEntityStorageInterface::createFromStorageRecord public function Creates a configuration entity from storage values.
ConfigEntityStorageInterface::getIDFromConfigName public static function Extracts the configuration entity ID from the full configuration name.
ConfigEntityStorageInterface::loadMultipleOverrideFree public function Loads one or more entities in their original form without overrides.
ConfigEntityStorageInterface::loadOverrideFree public function Loads one entity in their original form without overrides.
ConfigEntityStorageInterface::updateFromStorageRecord public function Updates a configuration entity from storage values.
EntityStorageInterface::create public function Constructs a new entity object, without permanently saving it.
EntityStorageInterface::delete public function Deletes permanently saved entities.
EntityStorageInterface::deleteRevision public function Delete a specific entity revision.
EntityStorageInterface::FIELD_LOAD_CURRENT constant Load the most recent version of an entity's field data. Overrides EntityStorageInterface::FIELD_LOAD_CURRENT
EntityStorageInterface::FIELD_LOAD_REVISION constant Load the version of an entity's field data specified in the entity. Overrides EntityStorageInterface::FIELD_LOAD_REVISION
EntityStorageInterface::getAggregateQuery public function Gets an aggregated query instance.
EntityStorageInterface::getEntityType public function Gets the entity type definition.
EntityStorageInterface::getEntityTypeId public function Gets the entity type ID.
EntityStorageInterface::getQuery public function Gets an entity query instance.
EntityStorageInterface::load public function Loads one entity.
EntityStorageInterface::loadByProperties public function Load entities by their property values.
EntityStorageInterface::loadMultiple public function Loads one or more entities.
EntityStorageInterface::loadRevision public function Load a specific entity revision.
EntityStorageInterface::loadUnchanged public function Loads an unchanged entity from the database.
EntityStorageInterface::resetCache public function Resets the internal, static entity cache.
EntityStorageInterface::save public function Saves the entity permanently.
RoleStorageInterface::isPermissionInRoles public function Returns whether a permission is in one of the passed in roles.
doc_Drupal
2016-10-29 09:38:58
Comments
Leave a Comment

Please login to continue.