ContentEntityStorageInterface.php in Multiversion 8.2
Same filename and directory in other branches
Namespace
Drupal\multiversion\Entity\StorageFile
src/Entity/Storage/ContentEntityStorageInterface.phpView source
<?php
namespace Drupal\multiversion\Entity\Storage;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Entity\EntityInterface;
interface ContentEntityStorageInterface extends EntityStorageInterface {
/**
* What workspace to query.
*
* @param integer $id
* @return \Drupal\multiversion\Entity\Storage\ContentEntityStorageInterface
*/
public function useWorkspace($id);
/**
* @param integer $id
* @return \Drupal\Core\Entity\ContentEntityInterface|null
*/
public function loadDeleted($id);
/**
* @param array $ids
* @return \Drupal\Core\Entity\ContentEntityInterface[]
*/
public function loadMultipleDeleted(array $ids = NULL);
/**
* @param array $entities
*/
public function purge(array $entities);
/**
* Save the given entity without forcing a new revision.
*
* @param \Drupal\Core\Entity\EntityInterface $entity
* Entity that should be saved.
*
* @return
* SAVED_NEW or SAVED_UPDATED is returned depending on the operation
* performed.
*
* @throws \Drupal\Core\Entity\EntityStorageException
* In case of failures, an exception is thrown.
*/
public function saveWithoutForcingNewRevision(EntityInterface $entity);
}
Interfaces
Name | Description |
---|---|
ContentEntityStorageInterface |