protected function WidgetBase::getFieldSetting in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Field/WidgetBase.php \Drupal\Core\Field\WidgetBase::getFieldSetting()
Returns the value of a field setting.
Parameters
string $setting_name: The setting name.
Return value
mixed The setting value.
16 calls to WidgetBase::getFieldSetting()
- DateTimeDatelistWidget::formElement in core/
modules/ datetime/ src/ Plugin/ Field/ FieldWidget/ DateTimeDatelistWidget.php - Returns the form for a single field widget.
- DateTimeDatelistWidget::settingsForm in core/
modules/ datetime/ src/ Plugin/ Field/ FieldWidget/ DateTimeDatelistWidget.php - Returns a form to configure settings for the widget.
- DateTimeDatelistWidget::settingsSummary in core/
modules/ datetime/ src/ Plugin/ Field/ FieldWidget/ DateTimeDatelistWidget.php - Returns a short summary for the current widget settings.
- DateTimeDefaultWidget::formElement in core/
modules/ datetime/ src/ Plugin/ Field/ FieldWidget/ DateTimeDefaultWidget.php - Returns the form for a single field widget.
- DateTimeWidgetBase::formElement in core/
modules/ datetime/ src/ Plugin/ Field/ FieldWidget/ DateTimeWidgetBase.php - Returns the form for a single field widget.
File
- core/
lib/ Drupal/ Core/ Field/ WidgetBase.php, line 535 - Contains \Drupal\Core\Field\WidgetBase.
Class
- WidgetBase
- Base class for 'Field widget' plugin implementations.
Namespace
Drupal\Core\FieldCode
protected function getFieldSetting($setting_name) {
return $this->fieldDefinition
->getSetting($setting_name);
}