You are here

public function WebformElementBase::isHidden in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::isHidden()

Checks if the element is hidden.

Return value

bool TRUE if the element is hidden.

Overrides WebformElementInterface::isHidden

2 methods override WebformElementBase::isHidden()
View::isHidden in src/Plugin/WebformElement/View.php
Checks if the element is hidden.
WebformVariant::isHidden in src/Plugin/WebformElement/WebformVariant.php
Checks if the element is hidden.

File

src/Plugin/WebformElementBase.php, line 645

Class

WebformElementBase
Provides a base class for a webform element.

Namespace

Drupal\webform\Plugin

Code

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