You are here

public function CollectPathsEvent::deletePath in Tome 8

Deletes a single path.

Parameters

string $path: A path to delete.

File

modules/tome_static/src/Event/CollectPathsEvent.php, line 115

Class

CollectPathsEvent
Wraps an array of paths that will be processed by the static generator.

Namespace

Drupal\tome_static\Event

Code

public function deletePath($path) {
  unset($this->paths[$path]);
}