function ComplexDataInterface::isEmpty

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/ComplexDataInterface.php \Drupal\Core\TypedData\ComplexDataInterface::isEmpty()
  2. 10 core/lib/Drupal/Core/TypedData/ComplexDataInterface.php \Drupal\Core\TypedData\ComplexDataInterface::isEmpty()
  3. 11.x core/lib/Drupal/Core/TypedData/ComplexDataInterface.php \Drupal\Core\TypedData\ComplexDataInterface::isEmpty()

Determines whether the data structure is empty.

Return value

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

2 methods override ComplexDataInterface::isEmpty()
EntityAdapter::isEmpty in core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.php
Determines whether the data structure is empty.
Map::isEmpty in core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php
Determines whether the data structure is empty.

File

core/lib/Drupal/Core/TypedData/ComplexDataInterface.php, line 103

Class

ComplexDataInterface
Interface for complex data; i.e. data containing named and typed properties.

Namespace

Drupal\Core\TypedData

Code

public function isEmpty();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.