service plugin.manager.link_relation_type in Drupal 8
Same name and namespace in other branches
- 9 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 - 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
- class: \Drupal\Core\Http\LinkRelationTypeManager
- arguments:
- - '@app.root'
- - '@module_handler'
- - '@cache.discovery'