You are here

public function ArrayElement::isEmpty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Config/Schema/ArrayElement.php \Drupal\Core\Config\Schema\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 96
Contains \Drupal\Core\Config\Schema\ArrayElement.

Class

ArrayElement
Defines a generic configuration element that contains multiple properties.

Namespace

Drupal\Core\Config\Schema

Code

public function isEmpty() {
  return empty($this->value);
}