diff --git a/core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php b/core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php index 7c33fd4b6cf407bf896c668b5512bcba0d1071f8..eb77445c821b6da8e7e2db4ead8f482ee0e47796 100644 --- a/core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php +++ b/core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php @@ -77,6 +77,10 @@ public function getPathFromRoute($name, $parameters = array()); * @throws \Symfony\Component\Routing\Exception\InvalidParameterException * Thrown when a parameter value for a placeholder is not correct because it * does not match the requirement. + * + * @internal + * Should not be used in user code. + * Use \Drupal\Core\Url instead. */ public function generateFromRoute($name, $parameters = array(), $options = array(), $collect_bubbleable_metadata = FALSE);