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. Search 11.x for link
  6. 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
LinkGeneratorTest::testGenerateQuery function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with passed query options.
LinkGeneratorTest::testGenerateTwice function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests whether rendering the same link twice works.
LinkGeneratorTest::testGenerateUrlWithQuotes function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with a URL containing double quotes.
LinkGeneratorTest::testGenerateWithAlterHook function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests altering the URL object using hook_link_alter().
LinkGeneratorTest::testGenerateWithHtml function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with html.
LinkGeneratorTest::testGenerateXss function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with a script tab.
LinkHooks class core/modules/link/src/Hook/LinkHooks.php Hook implementations for link.
LinkHooks.php file core/modules/link/src/Hook/LinkHooks.php
LinkHooks::fieldTypeCategoryInfoAlter function core/modules/link/src/Hook/LinkHooks.php Implements hook_field_type_category_info_alter().
LinkHooks::help function core/modules/link/src/Hook/LinkHooks.php Implements hook_help().
LinkInputValuesTraits trait core/modules/link/tests/src/Traits/LinkInputValuesTraits.php Provides test values for the Link field.
LinkInputValuesTraits.php file core/modules/link/tests/src/Traits/LinkInputValuesTraits.php
LinkInputValuesTraits::getLinkInputValues function core/modules/link/tests/src/Traits/LinkInputValuesTraits.php Link field values use for test.
LinkItem class core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Plugin implementation of the 'link' field type.
LinkItem.php file core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::defaultFieldSettings function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::fieldSettingsForm function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::generateSampleValue function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::getTitle function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::getUrl function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::isEmpty function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::isExternal function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::mainPropertyName function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::onChange function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::propertyDefinitions function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::schema function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItem::setValue function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
LinkItemInterface interface core/modules/link/src/LinkItemInterface.php Defines an interface for the link field item.
LinkItemInterface.php file core/modules/link/src/LinkItemInterface.php
LinkItemInterface::getTitle function core/modules/link/src/LinkItemInterface.php Gets the link title.
LinkItemInterface::getUrl function core/modules/link/src/LinkItemInterface.php Gets the URL object.
LinkItemInterface::isExternal function core/modules/link/src/LinkItemInterface.php Determines if a link is external.
LinkItemInterface::LINK_EXTERNAL constant core/modules/link/src/LinkItemInterface.php Specifies whether the field supports only external URLs.
LinkItemInterface::LINK_GENERIC constant core/modules/link/src/LinkItemInterface.php Specifies whether the field supports both internal and external URLs.
LinkItemInterface::LINK_INTERNAL constant core/modules/link/src/LinkItemInterface.php Specifies whether the field supports only internal URLs.
LinkItemSerializationTest class core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests link field serialization.
LinkItemSerializationTest.php file core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php
LinkItemSerializationTest::$modules property core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php
LinkItemSerializationTest::$serializer property core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php The serializer service.
LinkItemSerializationTest::setUp function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php
LinkItemSerializationTest::testLinkDeserialization function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests the deserialization.
LinkItemSerializationTest::testLinkSerialization function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests the serialization.
LinkItemTest class core/modules/link/tests/src/Kernel/LinkItemTest.php Tests the new entity API for the link field type.
LinkItemTest.php file core/modules/link/tests/src/Kernel/LinkItemTest.php
LinkItemTest::$modules property core/modules/link/tests/src/Kernel/LinkItemTest.php
LinkItemTest::setUp function core/modules/link/tests/src/Kernel/LinkItemTest.php
LinkItemTest::testLinkItem function core/modules/link/tests/src/Kernel/LinkItemTest.php Tests using entity fields of the link field type.
LinkItemUrlValidationTest class core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link field validation.
LinkItemUrlValidationTest.php file core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php
LinkItemUrlValidationTest::$modules property core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php

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