You are here

CommentPreprocessEvent.php in Hook Event Dispatcher 3.x

File

modules/preprocess_event_dispatcher/src/Event/CommentPreprocessEvent.php
View source
<?php

namespace Drupal\preprocess_event_dispatcher\Event;


/**
 * Class CommentPreprocessEvent.
 */
final class CommentPreprocessEvent extends AbstractPreprocessEntityEvent {

  /**
   * {@inheritdoc}
   */
  public static function getHook() : string {
    return 'comment';
  }

}

Classes

Namesort descending Description
CommentPreprocessEvent Class CommentPreprocessEvent.