public function WorkflowAccessRoleForm::buildHeader in Workflow 8
File
- modules/
workflow_access/ src/ Form/ WorkflowAccessRoleForm.php, line 45
Class
- WorkflowAccessRoleForm
- Provides the base form for workflow add and edit forms.
Namespace
Drupal\workflow_access\FormCode
public function buildHeader() {
$header = [
'label_new' => $this
->t('State'),
'view' => $this
->t('Roles who can view posts in this state'),
'update' => $this
->t('Roles who can edit posts in this state'),
'delete' => $this
->t('Roles who can delete posts in this state'),
];
return $header;
}