public function WorkbenchAccessByRoleForm::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 'WorkbenchAccessByRoleForm::pageTitle'
File
- src/
Form/ WorkbenchAccessByRoleForm.php, line 137
Class
- WorkbenchAccessByRoleForm
- Configure Workbench Access per role.
Namespace
Drupal\workbench_access\FormCode
public function pageTitle(AccessSchemeInterface $access_scheme, $id) {
return $this
->t('Roles assigned to %label', [
'%label' => $access_scheme
->label(),
]);
}