ArrayElement::isEmpty

public ArrayElement::isEmpty()

Determines whether the data structure is empty.

Return value

bool TRUE if the data structure is empty, FALSE otherwise.

Overrides TypedConfigInterface::isEmpty

File

core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 91

Class

ArrayElement
Defines a generic configuration element that contains multiple properties.

Namespace

Drupal\Core\Config\Schema

Code

public function isEmpty() {
  return empty($this->value);
}
doc_Drupal
2016-10-29 08:44:49
Comments
Leave a Comment

Please login to continue.