abstract protected function RevisionControllerTrait::buildRevertRevisionLink in Entity API 8
Same name and namespace in other branches
- 8.0 src/Controller/RevisionControllerTrait.php \Drupal\entity\Controller\RevisionControllerTrait::buildRevertRevisionLink()
Builds a link to revert an entity revision.
Parameters
\Drupal\Core\Entity\EntityInterface $entity_revision: The entity to build a revert revision link for.
Return value
array A link render array.
1 call to RevisionControllerTrait::buildRevertRevisionLink()
- RevisionControllerTrait::getOperationLinks in src/
Controller/ RevisionControllerTrait.php - Get the links of the operations for an entity revision.
1 method overrides RevisionControllerTrait::buildRevertRevisionLink()
- RevisionOverviewController::buildRevertRevisionLink in src/
Controller/ RevisionOverviewController.php - Builds a link to revert an entity revision.
File
- src/
Controller/ RevisionControllerTrait.php, line 59
Class
- RevisionControllerTrait
- Defines a trait for common revision UI functionality.
Namespace
Drupal\entity\ControllerCode
protected abstract function buildRevertRevisionLink(EntityInterface $entity_revision);