You are here

public function FilterDependencyCalculationFieldsEvent::getEntity in Dependency Calculation 8

Retrieve the entity object

Return value

\Drupal\Core\Entity\ContentEntityInterface The entity.

File

src/Event/FilterDependencyCalculationFieldsEvent.php, line 47

Class

FilterDependencyCalculationFieldsEvent
The FilterDependencyCalculationFieldsEvent event.

Namespace

Drupal\depcalc\Event

Code

public function getEntity() {
  return $this->entity;
}