public function YamlForm::hasManagedFile in YAML Form 8
Determine if the form's elements include a managed_file upload element.
Return value
bool TRUE if the form's elements include a managed_file upload element.
Overrides YamlFormInterface::hasManagedFile
File
- src/
Entity/ YamlForm.php, line 376
Class
- YamlForm
- Defines the form entity.
Namespace
Drupal\yamlform\EntityCode
public function hasManagedFile() {
$this
->initElements();
return $this->hasManagedFile;
}