public function ModifyHtmlEvent::addInvokePath in Tome 8
Adds a path to invoke.
Parameters
string $path: The path.
File
- modules/
tome_static/ src/ Event/ ModifyHtmlEvent.php, line 71
Class
- ModifyHtmlEvent
- Allows modules to modify the HTML of a static page before save.
Namespace
Drupal\tome_static\EventCode
public function addInvokePath($path) {
$this->invokePaths[] = $path;
}