You are here

public function SupportTicketRevisionController::revisionOverview in Support Ticketing System 8

Returns a form for revision overview page.

Parameters

SupportTicketInterface $support_ticket: The support ticket whose revisions are inspected.

Return value

array Render array containing the revisions table for $support_ticket.

1 string reference to 'SupportTicketRevisionController::revisionOverview'
support_ticket.routing.yml in modules/support_ticket/support_ticket.routing.yml
modules/support_ticket/support_ticket.routing.yml

File

modules/support_ticket/src/Controller/SupportTicketRevisionController.php, line 29
Contains \Drupal\support_ticket\Controller\SupportTicketRevisionController.

Class

SupportTicketRevisionController
Returns responses for Support Ticket Revision routes.

Namespace

Drupal\support_ticket\Controller

Code

public function revisionOverview(SupportTicketInterface $support_ticket) {
  return $this
    ->formBuilder()
    ->getForm('Drupal\\support_ticket\\Form\\RevisionOverviewForm', $support_ticket);
}