You are here

protected static function WebformMultiple::isHidden in Webform 8.5

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

Determine if an element is hidden.

Parameters

array $element: The element.

Return value

bool TRUE if the element is hidden.

2 calls to WebformMultiple::isHidden()
WebformMultiple::buildElementHeader in src/Element/WebformMultiple.php
Build a single element header.
WebformMultiple::buildElementRow in src/Element/WebformMultiple.php
Build a single element row.

File

src/Element/WebformMultiple.php, line 721

Class

WebformMultiple
Provides a webform element to assist in creation of multiple elements.

Namespace

Drupal\webform\Element

Code

protected static function isHidden(array $element) {
  return !Element::isVisibleElement($element);
}