Search for link

  1. Search 7.x for link
  2. Search 9.5.x for link
  3. Search 10.3.x for link
  4. Search 11.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
EntityLinkEdit::renderLink function core/modules/views/src/Plugin/views/field/EntityLinkEdit.php Prepares the link to view a entity.
EntityLinkOutputUrlUpdateTest class core/modules/views/tests/src/Functional/Update/EntityLinkOutputUrlUpdateTest.php Tests that the additional settings are added to the entity link field.
EntityLinkOutputUrlUpdateTest.php file core/modules/views/tests/src/Functional/Update/EntityLinkOutputUrlUpdateTest.php
EntityLinkOutputUrlUpdateTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/EntityLinkOutputUrlUpdateTest.php Set database dump files to be used.
EntityLinkOutputUrlUpdateTest::testViewsPostUpdateEntityLinkUrl function core/modules/views/tests/src/Functional/Update/EntityLinkOutputUrlUpdateTest.php Tests that the additional settings are added to the config.
EntityLinkTest class core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php @coversDefaultClass \Drupal\Core\Entity\Entity
@group Entity
EntityLinkTest.php file core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php
EntityLinkTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php The mocked entity type manager.
EntityLinkTest::$languageManager property core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php The mocked language manager.
EntityLinkTest::$linkGenerator property core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php The tested link generator.
EntityLinkTest::providerTestLink function core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php Provides test data for testLink().
EntityLinkTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php
EntityLinkTest::testLink function core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php Tests for the Entity::link() method
EntityLinkTest::testToLink function core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php Tests for the Entity::toLink() method
EntityReferenceAutocompleteWidgetMatchLimitUpdateTest::testViewsPostUpdateEntityLinkUrl function core/modules/system/tests/src/Functional/Update/EntityReferenceAutocompleteWidgetMatchLimitUpdateTest.php Tests that the match_limit setting is added to the config.
EntityReferenceFieldNormalizer::getRelationshipLinks function core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php Gets the links for the relationship.
EntityReferenceItemNormalizer::$linkManager property core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php The hypermedia link manager.
EntityResource::$linkRelationTypeManager property core/modules/rest/src/Plugin/rest/resource/EntityResource.php The link relation type manager used to create HTTP header links.
EntityResource::addLinkHeaders function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Adds link headers to a response.
EntityResource::getPagerLinks function core/modules/jsonapi/src/Controller/EntityResource.php Get the pager links for a given request object.
EntityResource::getRequestLink function core/modules/jsonapi/src/Controller/EntityResource.php Get the full URL for a given request object.
EntityType::$links property core/lib/Drupal/Core/Entity/EntityType.php Link templates using the URI template syntax.
EntityType::getLinkTemplate function core/lib/Drupal/Core/Entity/EntityType.php Gets the link template for a given key.
EntityType::getLinkTemplates function core/lib/Drupal/Core/Entity/EntityType.php Gets the link templates using the URI template syntax.
EntityType::hasLinkTemplate function core/lib/Drupal/Core/Entity/EntityType.php Indicates if a link template exists for a given key.
EntityType::setLinkTemplate function core/lib/Drupal/Core/Entity/EntityType.php Sets a single link template.
EntityTypeInterface::getLinkTemplate function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the link template for a given key.
EntityTypeInterface::getLinkTemplates function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the link templates using the URI template syntax.
EntityTypeInterface::hasLinkTemplate function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if a link template exists for a given key.
EntityTypeInterface::setLinkTemplate function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Sets a single link template.
EntityTypeTest::testSetLinkTemplateWithInvalidPath function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::setLinkTemplate
EntityUrlTest::providerTestToUrlLinkTemplateAddForm function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlLinkTemplateAddForm().
EntityUrlTest::providerTestToUrlLinkTemplateNoId function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlLinkTemplateNoId().
EntityUrlTest::providerTestToUrlLinkTemplateRevision function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlLinkTemplateRevision().
EntityUrlTest::providerTestToUrlLinkTemplates function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlLinkTemplates().
EntityUrlTest::registerLinkTemplate function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Registers a link template for the mock entity.
EntityUrlTest::testLink function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the link() method.
EntityUrlTest::testToUrlLinkTemplateAddForm function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with the 'revision' link template.
EntityUrlTest::testToUrlLinkTemplateNoId function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with link templates without an entity ID.
EntityUrlTest::testToUrlLinkTemplateRevision function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with the 'revision' link template.
EntityUrlTest::testToUrlLinkTemplates function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with simple link templates.
EntityViewBuilder::addContextualLinks function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Add contextual links.
EntityViewDisplayEditForm::getDisplayModesLink function core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php Returns a link to the form or view mode admin page.
EntityViewsData::addEntityLinks function core/modules/views/src/EntityViewsData.php Sets the entity links in case corresponding link templates exist.
EntityViewsDataTest::testEntityLinks function core/modules/views/tests/src/Unit/EntityViewsDataTest.php Tests add link types.
EntityViewsDataTest::testEntityLinksJustEditForm function core/modules/views/tests/src/Unit/EntityViewsDataTest.php Tests additional edit links.
entity_test.links.task.yml file core/modules/system/tests/modules/entity_test/entity_test.links.task.yml core/modules/system/tests/modules/entity_test/entity_test.links.task.yml
Feed::usesLinkDisplay function core/modules/views/src/Plugin/views/display/Feed.php Checks to see if the display has some need to link to another display.
field.field.block_content.banner_block.field_content_link.yml file core/profiles/demo_umami/config/install/field.field.block_content.banner_block.field_content_link.yml core/profiles/demo_umami/config/install/field.field.block_content.banner_block.field_content_link.yml
field.field.block_content.footer_promo_block.field_content_link.yml file core/profiles/demo_umami/config/install/field.field.block_content.footer_promo_block.field_content_link.yml core/profiles/demo_umami/config/install/field.field.block_content.footer_promo_block.field_content_link.yml

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