You are here

public function ComputedItemList::isEmpty in Salesforce Suite 8.3

Determines whether the list contains any non-empty items.

Return value

bool TRUE if the list is empty, FALSE otherwise.

Overrides ItemList::isEmpty

File

modules/salesforce_mapping/src/Plugin/Field/ComputedItemList.php, line 33

Class

ComputedItemList
Lifted from https://www.drupal.org/docs/8/api/entity-api/dynamicvirtual-field-values....

Namespace

Drupal\salesforce_mapping\Plugin\Field

Code

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