You are here

public function TeamContextManagerInterface::getCurrentContextEntity in Apigee Edge 8

Determines the current context from the route.

Return value

\Drupal\Core\Entity\EntityInterface|null The current entity or NULL.

1 method overrides TeamContextManagerInterface::getCurrentContextEntity()
TeamContextManager::getCurrentContextEntity in modules/apigee_edge_teams/src/TeamContextManager.php
Determines the current context from the route.

File

modules/apigee_edge_teams/src/TeamContextManagerInterface.php, line 47

Class

TeamContextManagerInterface
Base definition of the team context manager service.

Namespace

Drupal\apigee_edge_teams

Code

public function getCurrentContextEntity() : ?EntityInterface;