You are here

public function ModifyDestinationEvent::__construct in Tome 8

Constructs a ModifyDestinationEvent object.

Parameters

string $destination: The destination path.

File

modules/tome_static/src/Event/ModifyDestinationEvent.php, line 25

Class

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

Namespace

Drupal\tome_static\Event

Code

public function __construct($destination) {
  $this->destination = $destination;
}