public function CollectPathsEvent::replacePaths in Tome 8
Replaces all paths.
Parameters
array $paths: An array of paths, or an array mapping path names to metadata.
File
- modules/
tome_static/ src/ Event/ CollectPathsEvent.php, line 104
Class
- CollectPathsEvent
- Wraps an array of paths that will be processed by the static generator.
Namespace
Drupal\tome_static\EventCode
public function replacePaths(array $paths) {
$this->paths = [];
$this
->addPaths($paths);
}