You are here

public function EventBase::getContentLoader in YAML Content 8.2

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

Gets the ContentLoader object that triggered the event.

Return value

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

File

src/Event/EventBase.php, line 36

Class

EventBase
Base implementation of yaml_content events.

Namespace

Drupal\yaml_content\Event

Code

public function getContentLoader() {
  return $this->contentLoader;
}