diff --git a/core/lib/Drupal/Core/Entity/EntityManagerInterface.php b/core/lib/Drupal/Core/Entity/EntityManagerInterface.php index d561f53..e89966a 100644 --- a/core/lib/Drupal/Core/Entity/EntityManagerInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityManagerInterface.php @@ -164,6 +164,11 @@ public function getViewBuilder($entity_type); * * @return string * The administration path for an entity type bundle, if it exists. + * + * @deprecated since version 8.0 + * System paths should not be used - use route names and parameters. + * + * @see self::getAdminRouteInfo() */ public function getAdminPath($entity_type, $bundle);