Search for link

  1. Search 7.x for link
  2. Search 9.5.x for link
  3. Search 8.9.x for link
  4. Search 10.3.x for link
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Link class core/modules/jsonapi/src/JsonApiResource/Link.php Represents an RFC8288 based link.
Link class core/lib/Drupal/Core/Render/Element/Link.php Provides a link render element.
Link class core/lib/Drupal/Core/Link.php Defines an object that holds information about a link.

All search results

Title Object type File name Summary
LinksetControllerTest::setUp function core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php Test set up.
LinksetControllerTest::testAccess function core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php Test the access control functionality of the linkset endpoint.
LinksetControllerTest::testBasicFunctions function core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php Test core functions of the linkset endpoint.
LinksetControllerTest::testCacheability function core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php Test the cacheability of the linkset endpoint.
LinksetControllerTest::testCustomLinkRelation function core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php Tests that menu items can use a custom link relation.
LinksetControllerTest::testDisabledEndpoint function core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php Test that api route does not exist if the config option is disabled.
LinksetControllerTest::testUserAccountMenu function core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php Tests that the user account menu behaves as it should.
LinksetControllerTestBase class core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php A base class for implementing LinksetController tests.
LinksetControllerTestBase.php file core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php
LinksetControllerTestBase::$modules property core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Modules to install.
LinksetControllerTestBase::assertDrupalResponseCacheability function core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Helper to assert a cacheable value matches an expectation.
LinksetControllerTestBase::createMenuItem function core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Creates, saves, and returns a new menu link content entity.
LinksetControllerTestBase::doRequest function core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Sends a request to the kernel and makes basic response assertions.
LinksetControllerTestBase::enableEndpoint function core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Enables or disables the menu linkset endpoint.
LinksetControllerTestBase::getReferenceLinksetDataFromFile function core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Retrieve reference linkset controller output adjusted for proper base URL.
LinksetControllerTestBase::rebuildIfNeeded function core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Rebuild the router only if needed.
LinkTest class core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php @coversDefaultClass \Drupal\jsonapi\JsonApiResource\Link
@group jsonapi
LinkTest.php file core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php
LinkTest::linkComparisonProvider function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php Provides test data for link comparison.
LinkTest::linkMergeProvider function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php Provides test data for link merging.
LinkTest::mockUrlAssembler function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php Mocks the unrouted URL assembler.
LinkTest::testGetLinkRelationType function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php @covers ::getLinkRelationType
LinkTest::testLinkComparison function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php @covers ::compare
@dataProvider linkComparisonProvider
LinkTest::testLinkMerge function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php @covers ::merge
@dataProvider linkMergeProvider
LinkTypeConstraint class core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraint.php Validation constraint for links receiving data allowed by its settings.
LinkTypeConstraint.php file core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraint.php
LinkTypeConstraint::$message property core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraint.php
LinkTypeConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php Constraint validator for links receiving data allowed by its settings.
LinkTypeConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php
LinkTypeConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkTypeConstraintValidator.php
LinkUri class core/modules/menu_link_content/src/Plugin/migrate/process/LinkUri.php Generates an internal URI from the source value.
LinkUri.php file core/modules/menu_link_content/src/Plugin/migrate/process/LinkUri.php
LinkUri::$entityTypeManager property core/modules/menu_link_content/src/Plugin/migrate/process/LinkUri.php The entity type manager, used to fetch entity link templates.
LinkUri::create function core/modules/menu_link_content/src/Plugin/migrate/process/LinkUri.php Creates an instance of the plugin.
LinkUri::transform function core/modules/menu_link_content/src/Plugin/migrate/process/LinkUri.php Performs the associated process.
LinkUri::__construct function core/modules/menu_link_content/src/Plugin/migrate/process/LinkUri.php Constructs a LinkUri object.
LinkUriTest class core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Tests \Drupal\menu_link_content\Plugin\migrate\process\LinkUri.
LinkUriTest.php file core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php
LinkUriTest::$modules property core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Modules to install.
LinkUriTest::doTransform function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Transforms a link path into an 'internal:' or 'entity:' URI.
LinkUriTest::providerTestDisablingRouteValidation function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Provides test cases for LinkUriTest::testDisablingRouteValidation().
LinkUriTest::providerTestNotRouted function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Provides test cases for LinkUriTest::testNotRouted().
LinkUriTest::providerTestRouted function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Provides test cases for LinkUriTest::testTransform().
LinkUriTest::setUp function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php
LinkUriTest::testDisablingRouteValidation function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Tests disabling route validation in LinkUri::transform().
LinkUriTest::testNotRouted function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Tests that Non routed URLs throws an exception.
LinkUriTest::testRouted function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php Tests LinkUri::transform().
LinkViewsTokensTest class core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php Tests the views integration for link tokens.
LinkViewsTokensTest.php file core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php
LinkViewsTokensTest::$defaultTheme property core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php The theme to install as the default for testing.

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