You are here

public function EntityPagerInterface::getEntity in Entity Pager 8

Same name and namespace in other branches
  1. 2.0.x src/EntityPagerInterface.php \Drupal\entity_pager\EntityPagerInterface::getEntity()

Gets the entity object this entity pager is for.

Return value

\Drupal\Core\Entity\EntityInterface|null The entity object or NULL if no entity found.

1 method overrides EntityPagerInterface::getEntity()
EntityPager::getEntity in src/EntityPager.php
Gets the entity object this entity pager is for.

File

src/EntityPagerInterface.php, line 44

Class

EntityPagerInterface
Defines an interface for an entity pager.

Namespace

Drupal\entity_pager

Code

public function getEntity();