You are here

service plugin.manager.link_relation_type in Drupal 8

Same name and namespace in other branches
  1. 9 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
Test 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'