8 methods override WidgetBase::errorElement()
- EntityReferenceAutocompleteWidget::errorElement in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ EntityReferenceAutocompleteWidget.php - Assigns a field-level validation error to the right widget sub-element.
- MediaLibraryWidget::errorElement in core/
modules/ media_library/ src/ Plugin/ Field/ FieldWidget/ MediaLibraryWidget.php - Assigns a field-level validation error to the right widget sub-element.
- NumberWidget::errorElement in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ NumberWidget.php - Assigns a field-level validation error to the right widget sub-element.
- PathWidget::errorElement in core/
modules/ path/ src/ Plugin/ Field/ FieldWidget/ PathWidget.php - Assigns a field-level validation error to the right widget sub-element.
- TestFieldWidget::errorElement in core/
modules/ field/ tests/ modules/ field_test/ src/ Plugin/ Field/ FieldWidget/ TestFieldWidget.php - Assigns a field-level validation error to the right widget sub-element.
- TestFieldWidgetMultiple::errorElement in core/
modules/ field/ tests/ modules/ field_test/ src/ Plugin/ Field/ FieldWidget/ TestFieldWidgetMultiple.php - Assigns a field-level validation error to the right widget sub-element.
- TextareaWidget::errorElement in core/
modules/ text/ src/ Plugin/ Field/ FieldWidget/ TextareaWidget.php - Assigns a field-level validation error to the right widget sub-element.
- TextfieldWidget::errorElement in core/
modules/ text/ src/ Plugin/ Field/ FieldWidget/ TextfieldWidget.php - Assigns a field-level validation error to the right widget sub-element.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.