You are here

public function TransactionDescriptionItemList::getIterator in Transaction 8

Overrides ItemList::getIterator

File

src/Plugin/Field/TransactionDescriptionItemList.php, line 15

Class

TransactionDescriptionItemList
Item list for a computed field that displays the transaction description.

Namespace

Drupal\transaction\Plugin\Field

Code

public function getIterator() {
  $this
    ->ensurePopulated();
  return new \ArrayIterator($this->list);
}