public function FormStateDecoratorBase::hasFileElement in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::hasFileElement()
- 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::hasFileElement()
Returns whether this form has a file element.
Return value
bool Whether this form has a file element.
Overrides FormStateInterface::hasFileElement
File
- core/
lib/ Drupal/ Core/ Form/ FormStateDecoratorBase.php, line 130
Class
- FormStateDecoratorBase
- Decorates another form state.
Namespace
Drupal\Core\FormCode
public function hasFileElement() {
return $this->decoratedFormState
->hasFileElement();
}