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
EntityLinkTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php
EntityLinkTest::setUp function core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php
EntityLinkTest::testRenderNullEntity function core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php Test the render method when getEntity returns NULL.
EntityLinkTest::testToLink function core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php Tests for the EntityBase::toLink() method.
EntityReferenceFieldNormalizer::getRelationshipLinks function core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php Gets the links for the relationship.
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[[api-linebreak]]
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::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.
EntityViewAlterTest::testContextualLinksRemoved function core/modules/layout_builder/tests/src/Kernel/EntityViewAlterTest.php Tests that contextual links are removed when rendering Layout Builder.
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.
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
ExtensionLifecycle::LIFECYCLE_LINK_IDENTIFIER constant core/lib/Drupal/Core/Extension/ExtensionLifecycle.php The string used to identify the lifecycle link in an .info.yml file.
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
field.storage.block_content.field_content_link.yml file core/profiles/demo_umami/config/install/field.storage.block_content.field_content_link.yml core/profiles/demo_umami/config/install/field.storage.block_content.field_content_link.yml
FieldConfig::linkTemplates function core/modules/field/src/Entity/FieldConfig.php Gets an array link templates.
FieldEntityLinkBaseTest class core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php Tests the core Drupal\views\Plugin\views\field\LinkBase handler.
FieldEntityLinkBaseTest.php file core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php
FieldEntityLinkBaseTest::$defaultTheme property core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php The theme to install as the default for testing.
FieldEntityLinkBaseTest::$modules property core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php Modules to install.
FieldEntityLinkBaseTest::$testViews property core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php Views used by this test.
FieldEntityLinkBaseTest::setUp function core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php Sets up the test.
FieldEntityLinkBaseTest::testEntityLink function core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php Tests entity link fields.
FieldEntityLinkTest class core/modules/views/tests/src/Kernel/Handler/FieldEntityLinkTest.php Tests the core Drupal\views\Plugin\views\field\EntityOperations handler.
FieldEntityLinkTest.php file core/modules/views/tests/src/Kernel/Handler/FieldEntityLinkTest.php
FieldEntityLinkTest::$adminUser property core/modules/views/tests/src/Kernel/Handler/FieldEntityLinkTest.php An admin user account.
FieldEntityLinkTest::$modules property core/modules/views/tests/src/Kernel/Handler/FieldEntityLinkTest.php Modules to install.

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