ShortcutSetStorageInterface

Defines an interface for shortcut_set entity storage classes.

Hierarchy

File

core/modules/shortcut/src/ShortcutSetStorageInterface.php, line 11

Namespace

Drupal\shortcut

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.
ShortcutSetStorageInterface::assignUser public function Assigns a user to a particular shortcut set.
ShortcutSetStorageInterface::countAssignedUsers public function Get the number of users who have this set assigned to them.
ShortcutSetStorageInterface::deleteAssignedShortcutSets public function Delete shortcut sets assigned to users.
ShortcutSetStorageInterface::getAssignedToUser public function Get the name of the set assigned to this user.
ShortcutSetStorageInterface::getDefaultSet public function Gets the default shortcut set for a given user account.
ShortcutSetStorageInterface::unassignUser public function Unassigns a user from any shortcut set they may have been assigned to.
doc_Drupal
2016-10-29 09:42:58
Comments
Leave a Comment

Please login to continue.