public function ArrayElement::isEmpty in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/Schema/ArrayElement.php \Drupal\Core\Config\Schema\ArrayElement::isEmpty()
- 9 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 93
Class
- ArrayElement
- Defines a generic configuration element that contains multiple properties.
Namespace
Drupal\Core\Config\SchemaCode
public function isEmpty() {
return empty($this->value);
}