public function EventBase::__construct in YAML Content 8.2
Same name and namespace in other branches
- 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.
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.
File
- src/
Event/ EventBase.php, line 26
Class
- EventBase
- Base implementation of yaml_content events.
Namespace
Drupal\yaml_content\EventCode
public function __construct(ContentLoaderInterface $loader) {
$this->contentLoader = $loader;
}