protected function DateRecurModularWidgetBase::getModes in Recurring Date Field Modular Widgets 3.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldWidget/DateRecurModularWidgetBase.php \Drupal\date_recur_modular\Plugin\Field\FieldWidget\DateRecurModularWidgetBase::getModes()
- 2.x src/Plugin/Field/FieldWidget/DateRecurModularWidgetBase.php \Drupal\date_recur_modular\Plugin\Field\FieldWidget\DateRecurModularWidgetBase::getModes()
Determine the best suitable mode for a date recur field item.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup[] An array of translatable modes keyed by mode.
2 methods override DateRecurModularWidgetBase::getModes()
- DateRecurModularAlphaWidget::getModes in src/
Plugin/ Field/ FieldWidget/ DateRecurModularAlphaWidget.php - Determine the best suitable mode for a date recur field item.
- DateRecurModularOscarWidget::getModes in src/
Plugin/ Field/ FieldWidget/ DateRecurModularOscarWidget.php - Determine the best suitable mode for a date recur field item.
File
- src/
Plugin/ Field/ FieldWidget/ DateRecurModularWidgetBase.php, line 72
Class
- DateRecurModularWidgetBase
- Date recur modular widget base.
Namespace
Drupal\date_recur_modular\Plugin\Field\FieldWidgetCode
protected function getModes() : array {
return [];
}