MultiversionManagerInterface.php in Multiversion 8.2
Same filename and directory in other branches
Namespace
Drupal\multiversionFile
src/MultiversionManagerInterface.phpView source
<?php
namespace Drupal\multiversion;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\EntityTypeInterface;
interface MultiversionManagerInterface {
/**
* @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);
}
Interfaces
Name | Description |
---|---|
MultiversionManagerInterface |