You are here

public function PathPlaceholderEvent::__construct in Tome 8

Constructs a PathPlaceholderEvent object.

Parameters

string $path: A path.

File

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

Class

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

Namespace

Drupal\tome_static\Event

Code

public function __construct($path) {
  $this->path = $path;
  $this->isInvalid = FALSE;
}