You are here

public function ContentLoaderInterface::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.

1 method overrides ContentLoaderInterface::setContentPath()
ContentLoader::setContentPath in src/ContentLoader/ContentLoader.php
Set a path prefix for all content files to be loaded from.

File

src/ContentLoader/ContentLoaderInterface.php, line 18

Class

ContentLoaderInterface
Interface for loading and parsing content from YAML files.

Namespace

Drupal\yaml_content\ContentLoader

Code

public function setContentPath($path);