protected function LayoutBuilderCopyWidget::options in Layout Builder Asymmetric Translation 8.2
Options for appearance.
Return value
array
1 call to LayoutBuilderCopyWidget::options()
- LayoutBuilderCopyWidget::settingsForm in src/
Plugin/ Field/ FieldWidget/ LayoutBuilderCopyWidget.php - Returns a form to configure settings for the widget.
File
- src/
Plugin/ Field/ FieldWidget/ LayoutBuilderCopyWidget.php, line 39
Class
- LayoutBuilderCopyWidget
- A widget to display the copy widget form.
Namespace
Drupal\layout_builder_at\Plugin\Field\FieldWidgetCode
protected function options() {
return [
'unchecked' => $this
->t('Unchecked'),
'checked' => $this
->t('Checked'),
'checked_hidden' => $this
->t('Checked and hidden'),
];
}