protected property FormState::$has_file_element in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::has_file_element
If TRUE, there is a file element and Form API will set the appropriate 'enctype' HTML attribute on the form.
Type: bool
File
- core/
lib/ Drupal/ Core/ Form/ FormState.php, line 342
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
protected $has_file_element;