class EventBase in Scheduler 8
Base class on which all Scheduler events are extended.
Hierarchy
- class \Drupal\scheduler\EventBase extends \Drupal\Component\EventDispatcher\Event
Expanded class hierarchy of EventBase
6 files declare their use of EventBase
- ExistingNodeIsScheduledForPublishingEvent.php in scheduler_rules_integration/
src/ Event/ ExistingNodeIsScheduledForPublishingEvent.php - ExistingNodeIsScheduledForUnpublishingEvent.php in scheduler_rules_integration/
src/ Event/ ExistingNodeIsScheduledForUnpublishingEvent.php - NewNodeIsScheduledForPublishingEvent.php in scheduler_rules_integration/
src/ Event/ NewNodeIsScheduledForPublishingEvent.php - NewNodeIsScheduledForUnpublishingEvent.php in scheduler_rules_integration/
src/ Event/ NewNodeIsScheduledForUnpublishingEvent.php - SchedulerHasPublishedThisNodeEvent.php in scheduler_rules_integration/
src/ Event/ SchedulerHasPublishedThisNodeEvent.php
File
- src/
EventBase.php, line 19
Namespace
Drupal\schedulerView source
class EventBase extends Event {
/**
* The node which is being processed.
*
* @var \Drupal\node\NodeInterface
*/
public $node;
/**
* Constructs the object.
*
* @param \Drupal\node\NodeInterface $node
* The node which is being processed.
*/
public function __construct(NodeInterface $node) {
$this->node = $node;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EventBase:: |
public | property | The node which is being processed. | |
EventBase:: |
public | function | Constructs the object. |