You are here

public function FieldCollectionItemInterface::isEmpty in Field collection 8

Same name and namespace in other branches
  1. 8.3 src/FieldCollectionItemInterface.php \Drupal\field_collection\FieldCollectionItemInterface::isEmpty()

Determine whether a field collection item entity is empty.

Checks individual collection-fields.

Return value

bool TRUE if the field collection item is empty.

1 method overrides FieldCollectionItemInterface::isEmpty()
FieldCollectionItem::isEmpty in src/Entity/FieldCollectionItem.php
Determine whether a field collection item entity is empty.

File

src/FieldCollectionItemInterface.php, line 63

Class

FieldCollectionItemInterface
Provides an interface defining a field collection item entity.

Namespace

Drupal\field_collection

Code

public function isEmpty();