protected function FeedsUserProcessor::initEntitiesToBeRemoved in Feeds 7.2
Overrides FeedsProcessor::initEntitiesToBeRemoved().
Removes user 1 from the list of entities to be removed.
Overrides FeedsProcessor::initEntitiesToBeRemoved
File
- plugins/
FeedsUserProcessor.inc, line 424 - Contains FeedsUserProcessor.
Class
- FeedsUserProcessor
- Feeds processor plugin. Create users from feed items.
Code
protected function initEntitiesToBeRemoved(FeedsSource $source, FeedsState $state) {
parent::initEntitiesToBeRemoved($source, $state);
// Prevent user 1 from being deleted.
unset($state->removeList[1]);
}