plugin.manager.link_relation_type

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

Class

\Drupal\Core\Http\LinkRelationTypeManager
4 string references to plugin.manager.link_relation_type
EntityResource::create in core/modules/rest/src/Plugin/rest/resource/EntityResource.php
Creates an instance of the plugin.
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

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

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