public function EntityAlterEvent::getEntity in Entity Share 8.2
Returns the entity object.
Return value
\Drupal\Core\Entity\EntityInterface The entity being manipulated.
File
- modules/
entity_share_client/ src/ Event/ EntityAlterEvent.php, line 51
Class
- EntityAlterEvent
- Defines an event for altering the entity.
Namespace
Drupal\entity_share_client\EventCode
public function getEntity() {
return $this->entity;
}