You are here

public function StaticGeneratorInterface::exportPaths in Tome 8

Exports multiple paths.

If a path is a file that already exists, it will be immediately copied. If a path needs to be fetched in a new request, it will be returned.

Parameters

string[] $paths: An array of paths to export.

Return value

string[] An array of paths that need to be fetched in new requests. Usually these are image style derivatives.

1 method overrides StaticGeneratorInterface::exportPaths()
StaticGenerator::exportPaths in modules/tome_static/src/StaticGenerator.php
Exports multiple paths.

File

modules/tome_static/src/StaticGeneratorInterface.php, line 68

Class

StaticGeneratorInterface
Provides an interface for the static generator.

Namespace

Drupal\tome_static

Code

public function exportPaths(array $paths);