You are here

public function TransactionDetailsItemList::isEmpty in Transaction 8

Determines whether the list contains any non-empty items.

Return value

bool TRUE if the list is empty, FALSE otherwise.

Overrides ItemList::isEmpty

File

src/Plugin/Field/TransactionDetailsItemList.php, line 38

Class

TransactionDetailsItemList
Transaction details field type item list.

Namespace

Drupal\transaction\Plugin\Field

Code

public function isEmpty() {
  $this
    ->ensureCalculated();
  return parent::isEmpty();
}