You are here

public function ProcessingContext::setContentLoader in YAML Content 8

Set the content loader context.

Parameters

\Drupal\yaml_content\ContentLoader\ContentLoaderInterface $contentLoader: The content loader instance actively loading content.

File

src/Plugin/ProcessingContext.php, line 57

Class

ProcessingContext
The contextual data for content being actively loaded.

Namespace

Drupal\yaml_content\Plugin

Code

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