You are here

abstract public function AbstractEntityEventVariables::getEntity in Hook Event Dispatcher 8

Get the Entity.

Return value

\Drupal\Core\Entity\EntityInterface Entity.

5 methods override AbstractEntityEventVariables::getEntity()
CommentEventVariables::getEntity in src/Event/Preprocess/Variables/CommentEventVariables.php
Get the Entity.
EckEntityEventVariables::getEntity in src/Event/Preprocess/Variables/EckEntityEventVariables.php
Get the Entity.
NodeEventVariables::getEntity in src/Event/Preprocess/Variables/NodeEventVariables.php
Get the Entity.
ParagraphEventVariables::getEntity in src/Event/Preprocess/Variables/ParagraphEventVariables.php
Get the Entity.
TaxonomyTermEventVariables::getEntity in src/Event/Preprocess/Variables/TaxonomyTermEventVariables.php
Get the Entity.

File

src/Event/Preprocess/Variables/AbstractEntityEventVariables.php, line 16

Class

AbstractEntityEventVariables
Class EntityEventVariables.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Variables

Code

public abstract function getEntity();