FormState::hasFileElement

public function FormState::hasFileElement

public FormState::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/FormState.php, line 564

Class

FormState
Stores information about the state of a form.
登录查看完整内容