You are here

interface MultiversionManagerInterface in Multiversion 8

Same name and namespace in other branches
  1. 8.2 src/MultiversionManagerInterface.php \Drupal\multiversion\MultiversionManagerInterface

Hierarchy

Expanded class hierarchy of MultiversionManagerInterface

All classes that implement MultiversionManagerInterface

1 file declares its use of MultiversionManagerInterface
SequenceIndex.php in src/Entity/Index/SequenceIndex.php

File

src/MultiversionManagerInterface.php, line 8

Namespace

Drupal\multiversion
View source
interface MultiversionManagerInterface {

  /**
   * @return string
   * @deprecated Should no longer be used.
   * @see \Drupal\multiversion\Workspace\WorkspaceManager::getActiveWorkspace()
   */
  public function getActiveWorkspaceId();

  /**
   * @param string $id
   * @deprecated Should no longer be used.
   * @see \Drupal\multiversion\Workspace\WorkspaceManager::setActiveWorkspace()
   */
  public function setActiveWorkspaceId($id);

  /**
   * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
   * @return boolean
   */
  public function isSupportedEntityType(EntityTypeInterface $entity_type);

  /**
   * @return \Drupal\Core\Entity\EntityTypeInterface[]
   */
  public function getSupportedEntityTypes();

  /**
   * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
   * @return boolean
   */
  public function isEnabledEntityType(EntityTypeInterface $entity_type);

  /**
   * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
   * @return boolean
   */
  public function allowToAlter(EntityTypeInterface $entity_type);

  /**
   * @return \Drupal\Core\Entity\EntityTypeInterface[]
   */
  public function getEnabledEntityTypes();

  /**
   * @return \Drupal\multiversion\MultiversionManagerInterface
   */
  public function enableEntityTypes();

  /**
   * @return \Drupal\multiversion\MultiversionManagerInterface
   */
  public function disableEntityTypes();

  /**
   * @return integer
   */
  public function newSequenceId();

  /**
   * @return integer
   */
  public function lastSequenceId();

  /**
   * @return string
   */
  public function newRevisionId(ContentEntityInterface $entity, $index = 0);

}

Members