You are here

public function TeamContextManagerInterface::getCorrespondingRouteNameForEntity in Apigee Edge 8

Gets the corresponding route name for the given entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The developer or team entity.

Return value

null|string The corresponding route name if one is detected.

1 method overrides TeamContextManagerInterface::getCorrespondingRouteNameForEntity()
TeamContextManager::getCorrespondingRouteNameForEntity in modules/apigee_edge_teams/src/TeamContextManager.php
Gets the corresponding route name for the given entity.

File

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

Class

TeamContextManagerInterface
Base definition of the team context manager service.

Namespace

Drupal\apigee_edge_teams

Code

public function getCorrespondingRouteNameForEntity(EntityInterface $entity) : ?string;