public function RestResourceConfigInterface::getResourcePlugin in Drupal 10
Same name and namespace in other branches
- 8 core/modules/rest/src/RestResourceConfigInterface.php \Drupal\rest\RestResourceConfigInterface::getResourcePlugin()
- 9 core/modules/rest/src/RestResourceConfigInterface.php \Drupal\rest\RestResourceConfigInterface::getResourcePlugin()
Retrieves the REST resource plugin.
Return value
\Drupal\rest\Plugin\ResourceInterface The resource plugin
1 method overrides RestResourceConfigInterface::getResourcePlugin()
- RestResourceConfig::getResourcePlugin in core/
modules/ rest/ src/ Entity/ RestResourceConfig.php - Retrieves the REST resource plugin.
File
- core/
modules/ rest/ src/ RestResourceConfigInterface.php, line 29
Class
- RestResourceConfigInterface
- Defines a configuration entity to store enabled REST resources.
Namespace
Drupal\restCode
public function getResourcePlugin();