protected function RestResourceConfig::getResourcePluginManager in Drupal 10
Same name and namespace in other branches
- 8 core/modules/rest/src/Entity/RestResourceConfig.php \Drupal\rest\Entity\RestResourceConfig::getResourcePluginManager()
- 9 core/modules/rest/src/Entity/RestResourceConfig.php \Drupal\rest\Entity\RestResourceConfig::getResourcePluginManager()
Returns the resource plugin manager.
Return value
\Drupal\Component\Plugin\PluginManagerInterface
1 call to RestResourceConfig::getResourcePluginManager()
- RestResourceConfig::getPluginCollections in core/
modules/ rest/ src/ Entity/ RestResourceConfig.php - Gets the plugin collections used by this object.
File
- core/
modules/ rest/ src/ Entity/ RestResourceConfig.php, line 95
Class
- RestResourceConfig
- Defines a RestResourceConfig configuration entity class.
Namespace
Drupal\rest\EntityCode
protected function getResourcePluginManager() {
if (!isset($this->pluginManager)) {
$this->pluginManager = \Drupal::service('plugin.manager.rest');
}
return $this->pluginManager;
}