You are here

public function YamlFormElementBase::isHidden in YAML Form 8

Checks if element is hidden.

Return value

bool TRUE if the element is hidden.

Overrides YamlFormElementInterface::isHidden

File

src/YamlFormElementBase.php, line 301

Class

YamlFormElementBase
Provides a base class for a form element.

Namespace

Drupal\yamlform

Code

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