Same name and namespace in other branches
  1. 8.9.x core/core.services.yml \plugin.manager.link_relation_type
  2. 9 core/core.services.yml \plugin.manager.link_relation_type

Class

\Drupal\Core\Http\LinkRelationTypeManager
3 string references to plugin.manager.link_relation_type
EntityResourceTestBase::testGet in core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
Tests a GET request for an entity, plus edge cases to ensure good DX.
LinkRelationsTest::testAvailableLinkRelationships in core/tests/Drupal/KernelTests/Core/Http/LinkRelationsTest.php
Tests correct Link Relations are returned from the Link Relation Type Manager.
MediaLinkRelationsTest::testExistLinkRelationships in core/modules/media/tests/src/Kernel/MediaLinkRelationsTest.php
Tests that all link relationships for Media exist.

File

core/core.services.yml
core/core.services.yml

View source
  1. class: \Drupal\Core\Http\LinkRelationTypeManager
  2. arguments:
  3. - '%app.root%'
  4. - '@module_handler'
  5. - '@cache.discovery'