public function ContentLoaderBase::setContentPath in YAML Content 8.2
Set a path prefix for all content files to be loaded from.
Parameters
string $path: The directory path containing content files to be loaded.
File
- src/
ContentLoader/ ContentLoaderBase.php, line 94
Class
- ContentLoaderBase
- A base ContentLoader implementation to be extended by new content loaders.
Namespace
Drupal\yaml_content\ContentLoaderCode
public function setContentPath($path) {
$this->path = $path;
}