You are here

protected function StaticGenerator::getExcludedPaths in Tome 8

Returns paths excluded globally and per site.

Return value

array An array of excluded paths.

1 call to StaticGenerator::getExcludedPaths()
StaticGenerator::exportPaths in modules/tome_static/src/StaticGenerator.php
Exports multiple paths.

File

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

Class

StaticGenerator
Handles static site generation.

Namespace

Drupal\tome_static

Code

protected function getExcludedPaths() {
  $paths = ExcludePathSubscriber::getExcludedPaths();
  foreach ($paths as &$path) {
    $path = $this
      ->joinPaths(base_path(), $path);
  }
  return $paths;
}