You are here

public function FileSavedEventTest::getPath in Tome 8

Emulates the setPath() listener.

Parameters

\Drupal\tome_static\Event\FileSavedEvent $event: The file saved event.

File

modules/tome_static/tests/src/Kernel/FileSavedEventTest.php, line 52

Class

FileSavedEventTest
Tests file saved event class.

Namespace

Drupal\Tests\tome_static\Kernel

Code

public function getPath(FileSavedEvent $event) {
  $event
    ->getPath();
}