public function Feed::finishClear in Feeds 8.3
Cleans up after an import.
Overrides FeedInterface::finishClear
File
- src/
Entity/ Feed.php, line 350
Class
- Feed
- Defines the feed entity class.
Namespace
Drupal\feeds\EntityCode
public function finishClear() {
$this
->getType()
->getProcessor()
->postClear($this, $this
->getState(StateInterface::CLEAR));
foreach ($this->states as $state) {
is_object($state) ? $state
->displayMessages() : NULL;
}
$this
->clearStates();
}