protected function AfterParseBase::alterItem in Feeds 8.3
Alters a single item.
Parameters
\Drupal\feeds\Feeds\Item\ItemInterface $item: The item to make modifications on.
\Drupal\feeds\Event\ParseEvent $event: The parse event.
Throws
\Drupal\feeds\Exception\SkipItemException In case the item should not be imported.
1 call to AfterParseBase::alterItem()
- AfterParseBase::afterParse in src/
EventSubscriber/ AfterParseBase.php - Acts on parser result.
File
- src/
EventSubscriber/ AfterParseBase.php, line 82
Class
- AfterParseBase
- A base class for manipulating parser results.
Namespace
Drupal\feeds\EventSubscriberCode
protected function alterItem(ItemInterface $item, ParseEvent $event) {
}