You are here

ThemeSuggestionsAlterIdEvent.php in Hook Event Dispatcher 3.x

File

modules/core_event_dispatcher/src/Event/Theme/ThemeSuggestionsAlterIdEvent.php
View source
<?php

namespace Drupal\core_event_dispatcher\Event\Theme;


/**
 * Class ThemeSuggestionsAlterIdEvent.
 */
class ThemeSuggestionsAlterIdEvent extends AbstractThemeSuggestionsEvent {

  /**
   * Returns the hook dispatcher type.
   *
   * @return string
   *   Dispatcher type.
   */
  public function getDispatcherType() : string {
    return 'hook_event_dispatcher.theme.suggestions_' . $this
      ->getHook() . '_alter';
  }

}

Classes

Namesort descending Description
ThemeSuggestionsAlterIdEvent Class ThemeSuggestionsAlterIdEvent.