You are here

public function FilterDependencyConfigEntityEvent::getEntity in Dependency Calculation 8

Get the entity we are considering calculating.

Return value

\Drupal\Core\Entity\EntityInterface The entity for calculation.

File

src/Event/FilterDependencyConfigEntityEvent.php, line 53

Class

FilterDependencyConfigEntityEvent
Class FilterDependencyConfigEntityEvent

Namespace

Drupal\depcalc\Event

Code

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