public function CleanEvent::__construct in Feeds 8.3
Constructs a CleanEvent object.
Parameters
\Drupal\feeds\FeedInterface $feed: The feed.
\Drupal\Core\Entity\EntityInterface $entity: The entity to clean.
Overrides EventBase::__construct
File
- src/
Event/ CleanEvent.php, line 28
Class
- CleanEvent
- Fired to begin cleaning.
Namespace
Drupal\feeds\EventCode
public function __construct(FeedInterface $feed, EntityInterface $entity) {
$this->feed = $feed;
$this->entity = $entity;
}