From 034a850958dd058367edd739ad6cdfc4b491bb0d Mon Sep 17 00:00:00 2001 From: xjm <xjm@65776.no-reply.drupal.org> Date: Mon, 9 Nov 2015 18:07:51 -0600 Subject: [PATCH] Issue #2606390 by anil.gangwal, sdstyles, dawehner, jhodgdon: mark \Drupal\Core\Utility\LinkGeneratorInterface::generate as internal --- core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php b/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php index 3c143f5d936b..8029d7093d42 100644 --- a/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php +++ b/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php @@ -72,6 +72,9 @@ interface LinkGeneratorInterface { * @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\Link instead. */ public function generate($text, Url $url); -- GitLab