You are here

public function CleanStateInterface::nextEntity in Feeds 8.3

Returns the next entity in the list and removes the ID from the list.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $storage: (optional) The entity storage.

Return value

\Drupal\Core\Entity\EntityInterface|null Returns the next the entity in the list, if found.

1 method overrides CleanStateInterface::nextEntity()
CleanState::nextEntity in src/Feeds/State/CleanState.php
Returns the next entity in the list and removes the ID from the list.

File

src/Feeds/State/CleanStateInterface.php, line 56

Class

CleanStateInterface
Status of the clean phase of an import.

Namespace

Drupal\feeds\Feeds\State

Code

public function nextEntity(EntityStorageInterface $storage = NULL);