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
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.
LinkGeneratorTrait trait core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php Wrapper methods for the Link Generator.
LinkGeneratorTrait.php file core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php
LinkGeneratorTrait::$linkGenerator property core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php The link generator.
LinkGeneratorTrait::getLinkGenerator function core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php Returns the link generator.
LinkGeneratorTrait::l function core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php Renders a link to a route given a route name and its parameters.
LinkGeneratorTrait::setLinkGenerator function core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php Sets the link generator service.
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 Defines the field-level settings for this plugin.
LinkItem::fieldSettingsForm function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Returns a form for the field-level settings.
LinkItem::generateSampleValue function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Generates placeholder field values.
LinkItem::getUrl function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Gets the URL object.
LinkItem::isEmpty function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Determines whether the data structure is empty.
LinkItem::isExternal function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Determines if a link is external.
LinkItem::mainPropertyName function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Returns the name of the main property, if any.
LinkItem::propertyDefinitions function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Defines field item properties.
LinkItem::schema function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Returns the schema for the field.
LinkItem::setValue function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Overrides \Drupal\Core\TypedData\TypedData::setValue().
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::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 Modules to enable.
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 Set the default field storage backend for fields created during tests.
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 Modules to enable.
LinkItemTest::setUp function core/modules/link/tests/src/Kernel/LinkItemTest.php Set the default field storage backend for fields created during tests.
LinkItemTest::testLinkItem function core/modules/link/tests/src/Kernel/LinkItemTest.php Tests using entity fields of the link field type.
LinkItemTest::testSerializedOptions function core/modules/link/tests/src/Kernel/LinkItemTest.php Tests the deprecated behavior of LinkItem::setValue().
LinkManager class core/modules/rest/src/LinkManager/LinkManager.php
LinkManager class core/modules/hal/src/LinkManager/LinkManager.php
LinkManager.php file core/modules/rest/src/LinkManager/LinkManager.php
LinkManager.php file core/modules/hal/src/LinkManager/LinkManager.php
LinkManager::$relationLinkManager property core/modules/hal/src/LinkManager/LinkManager.php The relation link manager.
LinkManager::$typeLinkManager property core/modules/hal/src/LinkManager/LinkManager.php The type link manager.
LinkManager::getRelationInternalIds function core/modules/hal/src/LinkManager/LinkManager.php
LinkManager::getRelationUri function core/modules/hal/src/LinkManager/LinkManager.php

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