You are here

public function PathPlaceholderEvent::setInvalid in Tome 8

Marks the path as invalid.

Useful if a placeholder is malformed.

File

modules/tome_static/src/Event/PathPlaceholderEvent.php, line 62

Class

PathPlaceholderEvent
Allows modules that provide placeholder paths to load the real path.

Namespace

Drupal\tome_static\Event

Code

public function setInvalid() {
  $this->isInvalid = TRUE;
}