You are here

public function WebformMarkupBase::isContainer in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElement/WebformMarkupBase.php \Drupal\webform\Plugin\WebformElement\WebformMarkupBase::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 calls to WebformMarkupBase::isContainer()
WebformMarkupBase::buildHtml in src/Plugin/WebformElement/WebformMarkupBase.php
Build an element as HTML element.
WebformMarkupBase::buildText in src/Plugin/WebformElement/WebformMarkupBase.php
Build an element as text element.

File

src/Plugin/WebformElement/WebformMarkupBase.php, line 51

Class

WebformMarkupBase
Provides a base 'markup' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

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