10 calls to LinkGeneratorTest::assertLink()

LinkGeneratorTest::testGenerate in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the generate() method with a route.
LinkGeneratorTest::testGenerateActive in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the active class on the link method.
LinkGeneratorTest::testGenerateAttributes in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the link method with additional attributes.
LinkGeneratorTest::testGenerateExternal in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the generate() method with an external URL.
LinkGeneratorTest::testGenerateHrefs in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the link method with certain hrefs.
LinkGeneratorTest::testGenerateOptions in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the link method with arbitrary passed options.
LinkGeneratorTest::testGenerateParametersAsQuery in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the link method with passed query options via parameters.
LinkGeneratorTest::testGenerateQuery in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the link method with passed query options.
LinkGeneratorTest::testGenerateUrlWithQuotes in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the generate() method with a url containing double quotes.
LinkGeneratorTest::testGenerateWithHtml in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the link method with html.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.