You are here

public function ContainerBase::isContainer in YAML Form 8

Checks if element is a container that can contain elements.

Parameters

array $element: An element.

Return value

bool TRUE if the element is a container that can contain elements.

Overrides YamlFormElementBase::isContainer

1 method overrides ContainerBase::isContainer()
YamlFormWizardPage::isContainer in src/Plugin/YamlFormElement/YamlFormWizardPage.php
Checks if element is a container that can contain elements.

File

src/Plugin/YamlFormElement/ContainerBase.php, line 40

Class

ContainerBase
Provides a base 'container' class.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function isContainer(array $element) {
  return TRUE;
}