public function ExpireEvent::__construct in Feeds 8.3
Constructs an EventBase object.
Parameters
\Drupal\feeds\FeedInterface $feed: The feed.
int $item_id: The ID of the item that is being expired.
Overrides EventBase::__construct
File
- src/
Event/ ExpireEvent.php, line 27
Class
- ExpireEvent
- Fired to begin expiration.
Namespace
Drupal\feeds\EventCode
public function __construct(FeedInterface $feed, $item_id) {
$this->feed = $feed;
$this->itemId = $item_id;
}