You are here

public function ContainerBase::isContainer in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/ContainerBase.php \Drupal\webform\Plugin\WebformElement\ContainerBase::isContainer()

Checks if the 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 WebformElementBase::isContainer

2 methods override ContainerBase::isContainer()
WebformActions::isContainer in src/Plugin/WebformElement/WebformActions.php
Checks if the element is a container that can contain elements.
WebformWizardPage::isContainer in src/Plugin/WebformElement/WebformWizardPage.php
Checks if the element is a container that can contain elements.

File

src/Plugin/WebformElement/ContainerBase.php, line 58

Class

ContainerBase
Provides a base 'container' class.

Namespace

Drupal\webform\Plugin\WebformElement

Code

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