You are here

class MediaStorage in Multiversion 8

Same name and namespace in other branches
  1. 8.2 src/Entity/Storage/Sql/MediaStorage.php \Drupal\multiversion\Entity\Storage\Sql\MediaStorage

Storage handler for media entity.

Hierarchy

Expanded class hierarchy of MediaStorage

File

src/Entity/Storage/Sql/MediaStorage.php, line 20

Namespace

Drupal\multiversion\Entity\Storage\Sql
View source
class MediaStorage extends \CoreMediaStorage implements ContentEntityStorageInterface {
  use ContentEntityStorageTrait;

}

Members

Namesort descending Modifiers Type Description Overrides
ContentEntityStorageTrait::$isDeleted protected property
ContentEntityStorageTrait::$originalStorage protected property
ContentEntityStorageTrait::$workspaceId protected property
ContentEntityStorageTrait::buildCacheId protected function
ContentEntityStorageTrait::buildQuery protected function
ContentEntityStorageTrait::buildRevisionBranch protected function Builds the revision branch.
ContentEntityStorageTrait::delete public function
ContentEntityStorageTrait::deleteRevision public function
ContentEntityStorageTrait::doPostSave protected function
ContentEntityStorageTrait::doPreSave protected function
ContentEntityStorageTrait::doSave protected function @todo Revisit this logic with forward revisions in mind.
ContentEntityStorageTrait::getFromStaticCache protected function
ContentEntityStorageTrait::getOriginalStorage public function Get original entity type storage handler (not the multiversion one).
ContentEntityStorageTrait::getQueryServiceName public function
ContentEntityStorageTrait::getWorkspaceId protected function Helper method to get the workspace ID to query.
ContentEntityStorageTrait::indexEntity protected function Indexes basic information about the entity.
ContentEntityStorageTrait::indexEntityRevision protected function Indexes information about the revision.
ContentEntityStorageTrait::indexEntityRevisionTree protected function Indexes the revision tree.
ContentEntityStorageTrait::indexEntitySequence protected function Indexes entity sequence.
ContentEntityStorageTrait::loadByProperties public function
ContentEntityStorageTrait::loadDeleted public function
ContentEntityStorageTrait::loadMultiple public function
ContentEntityStorageTrait::loadMultipleDeleted public function
ContentEntityStorageTrait::loadUnchanged public function
ContentEntityStorageTrait::purge public function
ContentEntityStorageTrait::resetCache public function
ContentEntityStorageTrait::save public function
ContentEntityStorageTrait::saveWithoutForcingNewRevision public function
ContentEntityStorageTrait::setPersistentCache protected function
ContentEntityStorageTrait::setStaticCache protected function
ContentEntityStorageTrait::trackConflicts protected function Uses the Conflict Tracker service to track conflicts for an entity.
ContentEntityStorageTrait::truncate public function Truncate all related tables to entity type.
ContentEntityStorageTrait::useWorkspace public function
EntityStorageInterface::create public function Constructs a new entity object, without permanently saving it. 1
EntityStorageInterface::FIELD_LOAD_CURRENT constant Load the most recent version of an entity's field data.
EntityStorageInterface::FIELD_LOAD_REVISION constant Load the version of an entity's field data specified in the entity.
EntityStorageInterface::getAggregateQuery public function Gets an aggregated query instance. 1
EntityStorageInterface::getEntityType public function Gets the entity type definition. 1
EntityStorageInterface::getEntityTypeId public function Gets the entity type ID. 1
EntityStorageInterface::getQuery public function Gets an entity query instance. 1
EntityStorageInterface::hasData public function Determines if the storage contains any data. 1
EntityStorageInterface::load public function Loads one entity. 1
EntityStorageInterface::loadRevision public function Load a specific entity revision. 4
EntityStorageInterface::restore public function Restores a previously saved entity. 1