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