public function ContentAccessController::getContentAccessTitle in Content Access 8
Returns content access settings page title.
1 string reference to 'ContentAccessController::getContentAccessTitle'
File
- src/
Controller/ ContentAccessController.php, line 43
Class
- ContentAccessController
- Controller routines for user routes.
Namespace
Drupal\content_access\ControllerCode
public function getContentAccessTitle() {
$node = $this->routeMatch
->getParameter('node');
$title = $this
->t('Access control for <em>@title</em>', [
'@title' => $node
->getTitle(),
]);
return $title;
}