public function EntityPagerInterface::getEntity in Entity Pager 8
Same name and namespace in other branches
- 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_pagerCode
public function getEntity();