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 567

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function hasFileElement() {
  return $this->has_file_element;
}
doc_Drupal
2016-10-29 09:15:59
Comments
Leave a Comment

Please login to continue.