You are here

public function FakeEvent::getDispatcherType in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/Manager/FakeEvent.php \Drupal\Tests\hook_event_dispatcher\Unit\Manager\FakeEvent::getDispatcherType()
  2. 8 tests/src/Unit/Manager/FakeEvent.php \Drupal\Tests\hook_event_dispatcher\Unit\Manager\FakeEvent::getDispatcherType()

Get the dispatcher type.

Return value

string The dispatcher type.

Overrides EventInterface::getDispatcherType

File

tests/src/Unit/Manager/FakeEvent.php, line 38

Class

FakeEvent
Class FakeEvent.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Manager

Code

public function getDispatcherType() : string {
  return $this->dispatcherType;
}