You are here

public function EventBase::__construct in YAML Content 8.2

Same name and namespace in other branches
  1. 8 src/Event/EventBase.php \Drupal\yaml_content\Event\EventBase::__construct()

Constructs a yaml content content parsed event object.

Parameters

\Drupal\yaml_content\ContentLoader\ContentLoaderInterface $loader: The ContentLoader object that triggered the event.

6 calls to EventBase::__construct()
ContentParsedEvent::__construct in src/Event/ContentParsedEvent.php
Constructs a yaml content content parsed event object.
DataImportEvent::__construct in src/Event/DataImportEvent.php
Constructs a yaml content entity pre-save event object.
EntityPostSaveEvent::__construct in src/Event/EntityPostSaveEvent.php
Constructs a yaml content entity post-save event object.
EntityPreSaveEvent::__construct in src/Event/EntityPreSaveEvent.php
Constructs a yaml content entity pre-save event object.
PostImportEvent::__construct in src/Event/PostImportEvent.php
Constructs a yaml content post-import event object.

... See full list

6 methods override EventBase::__construct()
ContentParsedEvent::__construct in src/Event/ContentParsedEvent.php
Constructs a yaml content content parsed event object.
DataImportEvent::__construct in src/Event/DataImportEvent.php
Constructs a yaml content entity pre-save event object.
EntityPostSaveEvent::__construct in src/Event/EntityPostSaveEvent.php
Constructs a yaml content entity post-save event object.
EntityPreSaveEvent::__construct in src/Event/EntityPreSaveEvent.php
Constructs a yaml content entity pre-save event object.
PostImportEvent::__construct in src/Event/PostImportEvent.php
Constructs a yaml content post-import event object.

... See full list

File

src/Event/EventBase.php, line 26

Class

EventBase
Base implementation of yaml_content events.

Namespace

Drupal\yaml_content\Event

Code

public function __construct(ContentLoaderInterface $loader) {
  $this->contentLoader = $loader;
}