You are here

public function StaticGenerator::getStaticDirectory in Tome 8

Gets the static directory.

Return value

string The static directory.

Overrides StaticGeneratorInterface::getStaticDirectory

2 calls to StaticGenerator::getStaticDirectory()
StaticGenerator::getDestination in modules/tome_static/src/StaticGenerator.php
Returns a destination for saving a given path.
StaticGenerator::prepareStaticDirectory in modules/tome_static/src/StaticGenerator.php
Prepares the static directory for a fresh export.

File

modules/tome_static/src/StaticGenerator.php, line 240

Class

StaticGenerator
Handles static site generation.

Namespace

Drupal\tome_static

Code

public function getStaticDirectory() {
  return Settings::get('tome_static_directory', '../html');
}