You are here

public function ContentLoader::setContentPath in YAML Content 8

Set a path prefix for all content files to be loaded from.

Parameters

string $path: The path for where all content files will be loaded from.

Overrides ContentLoaderInterface::setContentPath

File

src/ContentLoader/ContentLoader.php, line 216

Class

ContentLoader
ContentLoader class for parsing and importing YAML content.

Namespace

Drupal\yaml_content\ContentLoader

Code

public function setContentPath($path) {
  $this->path = $path;
}