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

1
2
3
public function isEmpty() {
  return empty($this->value);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.