public function PetDiffRevisionController::revisionOverview in Previewable email templates 8.3
Returns a form for revision overview page.
@todo This might be changed to a view when the issue at this link is resolved: https://drupal.org/node/1863906
Parameters
\Drupal\pet\Entity\PetInterface $pet: The pet whose revisions are inspected.
Return value
array Render array containing the revisions table for $pet.
File
- src/
Controller/ PetDiffRevisionController.php, line 29
Class
- PetDiffRevisionController
- Class PetDiffRevisionController.
Namespace
Drupal\pet\ControllerCode
public function revisionOverview(PetInterface $pet) {
return $this
->formBuilder()
->getForm('Drupal\\pet\\Form\\PetDiffRevisionOverviewForm', NULL, $pet);
}