public function EntityProcessorBase::getImportedItemIds in Feeds 8.3
Returns a list of ID's of entities that were imported.
Parameters
\Drupal\feeds\FeedInterface $feed: The feed to check fo imported entity ID's.
Return value
array A list of entity ID's.
Overrides ProcessorInterface::getImportedItemIds
File
- src/
Feeds/ Processor/ EntityProcessorBase.php, line 848
Class
- EntityProcessorBase
- Defines a base entity processor.
Namespace
Drupal\feeds\Feeds\ProcessorCode
public function getImportedItemIds(FeedInterface $feed) {
return $this->entityTypeManager
->getStorage($this
->entityType())
->getQuery()
->condition('feeds_item.target_id', $feed
->id())
->execute();
}