summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2015-11-10 00:07:51 (GMT)
committerxjm2015-11-10 00:07:51 (GMT)
commit034a850958dd058367edd739ad6cdfc4b491bb0d (patch)
tree65c6d5a9eef7d736b80142da691db13be30c7d7c
parent2867b25ebe405eadc2383cd0ab84940981335be8 (diff)
Issue #2606390 by anil.gangwal, sdstyles, dawehner, jhodgdon: mark \Drupal\Core\Utility\LinkGeneratorInterface::generate as internal
-rw-r--r--core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php b/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php
index 3c143f5..8029d70 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);