public function RestResourceConfigInterface::getResourcePlugin in Drupal 8
Same name and namespace in other branches
- 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();