You are here

public function YamlFormElementBase::isComposite in YAML Form 8

Checks if element is a composite element.

Return value

bool TRUE if the element is a composite element.

Overrides YamlFormElementInterface::isComposite

2 calls to YamlFormElementBase::isComposite()
YamlFormElementBase::form in src/YamlFormElementBase.php
Gets the actual configuration form array to be built.
YamlFormElementBase::setConfigurationFormDefaultValue in src/YamlFormElementBase.php
Set an element's configuration form element default value.

File

src/YamlFormElementBase.php, line 294

Class

YamlFormElementBase
Provides a base class for a form element.

Namespace

Drupal\yamlform

Code

public function isComposite() {
  return $this->pluginDefinition['composite'];
}