public function SupportTicketController::addPageTitle in Support Ticketing System 8
The _title_callback for the support_ticket.add route.
Parameters
\Drupal\support_ticket\SupportTicketTypeInterface $support_ticket_type: The current support ticket.
Return value
string The page title.
1 string reference to 'SupportTicketController::addPageTitle'
- 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/ SupportTicketController.php, line 270 - Contains \Drupal\support_ticket\Controller\SupportTicketController.
Class
- SupportTicketController
- Returns responses for Support Ticket routes.
Namespace
Drupal\support_ticket\ControllerCode
public function addPageTitle(SupportTicketTypeInterface $support_ticket_type) {
return $this
->t('Create @name', array(
'@name' => $support_ticket_type
->label(),
));
}