public function WorkbenchSettingsForm::settingsItems in Workbench 8
Returns an array of settings items.
2 calls to WorkbenchSettingsForm::settingsItems()
- WorkbenchSettingsForm::buildForm in src/
Form/ WorkbenchSettingsForm.php - Form constructor.
- WorkbenchSettingsForm::submitForm in src/
Form/ WorkbenchSettingsForm.php - Form submission handler.
File
- src/
Form/ WorkbenchSettingsForm.php, line 68 - Settings form for Workbench module.
Class
- WorkbenchSettingsForm
- Generates the Workbench configuration form.
Namespace
Drupal\workbench\FormCode
public function settingsItems() {
return [
'overview_left' => $this
->t('Overview block left'),
'overview_right' => $this
->t('Overview block right'),
'overview_main' => $this
->t('Overview block main'),
'edits_main' => $this
->t('My edits main'),
'all_main' => $this
->t('All content main'),
];
}