You are here

public function FakePreprocessEventFactory::getEventHook in Hook Event Dispatcher 8

Get the Event hook name.

Return value

string The hook name.

Overrides PreprocessEventFactoryInterface::getEventHook

File

tests/src/Unit/Preprocess/Helpers/FakePreprocessEventFactory.php, line 47

Class

FakePreprocessEventFactory
Class FakePreprocessEventFactory.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\Helpers

Code

public function getEventHook() {
  return $this->hook;
}