public function WebformManagedFileBase::hasManagedFiles in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformManagedFileBase.php \Drupal\webform\Plugin\WebformElement\WebformManagedFileBase::hasManagedFiles()
Determine if the element is or includes a managed_file upload element.
Parameters
array $element: An element.
Return value
bool TRUE if the element is or includes a managed_file upload element.
Overrides WebformElementBase::hasManagedFiles
File
- src/
Plugin/ WebformElement/ WebformManagedFileBase.php, line 227
Class
- WebformManagedFileBase
- Provides a base class webform 'managed_file' elements.
Namespace
Drupal\webform\Plugin\WebformElementCode
public function hasManagedFiles(array $element) {
return TRUE;
}