You are here

public function WebformElementBase::hasManagedFiles in Webform 6.x

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

2 methods override WebformElementBase::hasManagedFiles()
WebformCompositeBase::hasManagedFiles in src/Plugin/WebformElement/WebformCompositeBase.php
Determine if the element is or includes a managed_file upload element.
WebformManagedFileBase::hasManagedFiles in src/Plugin/WebformElement/WebformManagedFileBase.php
Determine if the element is or includes a managed_file upload element.

File

src/Plugin/WebformElementBase.php, line 502

Class

WebformElementBase
Provides a base class for a webform element.

Namespace

Drupal\webform\Plugin

Code

public function hasManagedFiles(array $element) {
  return FALSE;
}