You are here

public function WebformElementInterface::hasManagedFiles in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::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.

1 method overrides WebformElementInterface::hasManagedFiles()
WebformElementBase::hasManagedFiles in src/Plugin/WebformElementBase.php
Determine if the element is or includes a managed_file upload element.

File

src/Plugin/WebformElementInterface.php, line 280

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function hasManagedFiles(array $element);