public function WorkbenchAccessByUserForm::pageTitle in Workbench Access 8
Returns a dynamic page title for the route.
Parameters
\Drupal\workbench_access\Entity\AccessSchemeInterface $access_scheme: Access scheme.
string $id: The section id.
Return value
string A page title.
1 string reference to 'WorkbenchAccessByUserForm::pageTitle'
File
- src/
Form/ WorkbenchAccessByUserForm.php, line 265
Class
- WorkbenchAccessByUserForm
- Configure Workbench Access per user.
Namespace
Drupal\workbench_access\FormCode
public function pageTitle(AccessSchemeInterface $access_scheme, $id) {
return $this
->t('Editors assigned to %label', [
'%label' => $access_scheme
->label(),
]);
}