public function LogController::addPageTitle in Log entity 8
The _title_callback for the log.add route.
Parameters
\Drupal\log\LogTypeInterface $log_type: The current log.
Return value
string The page title.
1 string reference to 'LogController::addPageTitle'
File
- src/
Controller/ LogController.php, line 282 - Contains \Drupal\log\Controller\LogController.
Class
- LogController
- Returns responses for Log routes.
Namespace
Drupal\log\ControllerCode
public function addPageTitle(LogTypeInterface $log_type) {
return $this
->t('Create @name', array(
'@name' => $log_type
->label(),
));
}