interface RevisionTreeIndexInterface in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Index/RevisionTreeIndexInterface.php \Drupal\multiversion\Entity\Index\RevisionTreeIndexInterface
Hierarchy
- interface \Drupal\multiversion\Entity\Index\IndexInterface
- interface \Drupal\multiversion\Entity\Index\RevisionTreeIndexInterface
Expanded class hierarchy of RevisionTreeIndexInterface
All classes that implement RevisionTreeIndexInterface
1 file declares its use of RevisionTreeIndexInterface
- MultiversionIndexFactoryTest.php in tests/
src/ Kernel/ MultiversionIndexFactoryTest.php
File
- src/
Entity/ Index/ RevisionTreeIndexInterface.php, line 7
Namespace
Drupal\multiversion\Entity\IndexView source
interface RevisionTreeIndexInterface extends IndexInterface {
/**
* @param string $uuid
*
* @return array
*/
public function getTree($uuid);
/**
* @param string $uuid
*
* @return object of graph type
*/
public function getGraph($uuid);
/**
* @param \Drupal\Core\Entity\ContentEntityInterface $entity
* @param array $branch
* @return RevisionTreeIndexInterface
*/
public function updateTree(ContentEntityInterface $entity, array $branch = []);
/**
* @param string $uuid
*
* @return string
*/
public function getDefaultRevision($uuid);
/**
* @param string $uuid
*
* @return string[]
*/
public function getDefaultBranch($uuid);
/**
* @param string $uuid
*
* @return string[]
*/
public function getOpenRevisions($uuid);
/**
* @param string $uuid
*
* @return string[]
*/
public function getConflicts($uuid);
/**
* @param array $a
* @param array $b
* @return integer
*/
public static function sortRevisions(array $a, array $b);
/**
* @param array $tree
* @return mixed
*/
public static function sortTree(array &$tree);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
IndexInterface:: |
public | function | 3 | |
RevisionTreeIndexInterface:: |
public | function | 1 | |
RevisionTreeIndexInterface:: |
public | function | 1 | |
RevisionTreeIndexInterface:: |
public | function | 1 | |
RevisionTreeIndexInterface:: |
public | function | 1 | |
RevisionTreeIndexInterface:: |
public | function | 1 | |
RevisionTreeIndexInterface:: |
public | function | 1 | |
RevisionTreeIndexInterface:: |
public static | function | 1 | |
RevisionTreeIndexInterface:: |
public static | function | 1 | |
RevisionTreeIndexInterface:: |
public | function | 1 |