abstract public function AbstractEntityEventVariables::getEntity in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/preprocess_event_dispatcher/src/Variables/AbstractEntityEventVariables.php \Drupal\preprocess_event_dispatcher\Variables\AbstractEntityEventVariables::getEntity()
Get the Entity.
Return value
\Drupal\Core\Entity\EntityInterface Entity.
5 methods override AbstractEntityEventVariables::getEntity()
- CommentEventVariables::getEntity in modules/
preprocess_event_dispatcher/ src/ Variables/ CommentEventVariables.php - Get the Entity.
- EckEntityEventVariables::getEntity in modules/
preprocess_event_dispatcher/ src/ Variables/ EckEntityEventVariables.php - Get the Entity.
- NodeEventVariables::getEntity in modules/
preprocess_event_dispatcher/ src/ Variables/ NodeEventVariables.php - Get the Entity.
- ParagraphEventVariables::getEntity in modules/
preprocess_event_dispatcher/ src/ Variables/ ParagraphEventVariables.php - Get the Entity.
- TaxonomyTermEventVariables::getEntity in modules/
preprocess_event_dispatcher/ src/ Variables/ TaxonomyTermEventVariables.php - Get the Entity.
File
- modules/
preprocess_event_dispatcher/ src/ Variables/ AbstractEntityEventVariables.php, line 18
Class
- AbstractEntityEventVariables
- Class EntityEventVariables.
Namespace
Drupal\preprocess_event_dispatcher\VariablesCode
public abstract function getEntity() : EntityInterface;