plugin.manager.link_relation_type
Same name in other branches
- 9 core/core.services.yml \plugin.manager.link_relation_type
- 8.9.x core/core.services.yml \plugin.manager.link_relation_type
Class
\Drupal\Core\Http\LinkRelationTypeManager4 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
- class: \Drupal\Core\Http\LinkRelationTypeManager
- arguments:
- - '%app.root%'
- - '@module_handler'
- - '@cache.discovery'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.