8.3.x FormStateInterface.php public FormStateInterface::hasFileElement()
8.0.x FormStateInterface.php public FormStateInterface::hasFileElement()
8.1.x FormStateInterface.php public FormStateInterface::hasFileElement()
8.2.x FormStateInterface.php public FormStateInterface::hasFileElement()
8.4.x FormStateInterface.php public FormStateInterface::hasFileElement()

Returns whether this form has a file element.

Return value

bool Whether this form has a file element.

1 method overrides FormStateInterface::hasFileElement()
FormState::hasFileElement in core/lib/Drupal/Core/Form/FormState.php
Returns whether this form has a file element.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 725

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function hasFileElement();