You are here

protected function Importer::getFolder in Default Content Deploy 8

Get directory to import.

Return value

string The content folder.

Throws

\Exception

1 call to Importer::getFolder()
Importer::prepareForImport in src/Importer.php
Import data from JSON and create new entities, or update existing.

File

src/Importer.php, line 204

Class

Importer
A service for handling import of default content.

Namespace

Drupal\default_content_deploy

Code

protected function getFolder() {
  return $this->folder ?: $this->deployManager
    ->getContentFolder();
}