You are here

public function ModifyHtmlEvent::addExcludePath in Tome 8

Adds a path to exclude.

Parameters

string $path: The path.

File

modules/tome_static/src/Event/ModifyHtmlEvent.php, line 101

Class

ModifyHtmlEvent
Allows modules to modify the HTML of a static page before save.

Namespace

Drupal\tome_static\Event

Code

public function addExcludePath($path) {
  $this->excludePaths[] = $path;
}