diff --git a/core/lib/Drupal/Core/Entity/EntityInterface.php b/core/lib/Drupal/Core/Entity/EntityInterface.php index 3e6af827dd59..057727b11365 100644 --- a/core/lib/Drupal/Core/Entity/EntityInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityInterface.php @@ -119,8 +119,9 @@ interface EntityInterface extends AccessibleInterface { * The link relationship type, for example: canonical or edit-form. * * @return mixed[] - * An array containing the 'path' and 'options' keys used to build the URI - * of the entity, and matching the signature of url(). + * An array containing 'route_name', 'route_parameters' and 'options' keys + * used to build the URI of the entity and matching the signature of + * \Drupal::url(). */ public function urlInfo($rel = 'canonical');