You are here

public function PathPlaceholderEventTest::isinvalid in Tome 8

Emulates the isInvalid() listener.

Parameters

\Drupal\tome_static\Event\PathPlaceholderEvent $event: The path placeholder event.

File

modules/tome_static/tests/src/Kernel/PathPlaceholderEventTest.php, line 74

Class

PathPlaceholderEventTest
Tests path placeholder event class.

Namespace

Drupal\Tests\tome_static\Kernel

Code

public function isinvalid(PathPlaceholderEvent $event) {
  $event
    ->setInvalid();
}