You are here

public function CommentEventVariables::getEntityType in Hook Event Dispatcher 8

Get the Entity type.

Return value

string Entity type.

Overrides AbstractEntityEventVariables::getEntityType

File

src/Event/Preprocess/Variables/CommentEventVariables.php, line 30

Class

CommentEventVariables
Class CommentEventVariables.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Variables

Code

public function getEntityType() {
  return 'comment';
}