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\KernelCode
public function isinvalid(PathPlaceholderEvent $event) {
$event
->setInvalid();
}