public function InitEvent::__construct in Feeds 8.3
Constructs an InitEvent object.
Parameters
\Drupal\feeds\FeedInterface $feed: The feed.
string $stage: (optional) The stage to initialize. Defaults to an empty string.
Overrides EventBase::__construct
File
- src/
Event/ InitEvent.php, line 29
Class
- InitEvent
- Fired before a regular event is being fired.
Namespace
Drupal\feeds\EventCode
public function __construct(FeedInterface $feed, $stage = '') {
$this->feed = $feed;
$this->stage = $stage;
}