Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RestResourceConfig.php

function 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

File

core/modules/rest/src/Entity/RestResourceConfig.php, line 96

Class

RestResourceConfig
Defines a RestResourceConfig configuration entity class.

Namespace

Drupal\rest\Entity

Code

protected function getResourcePluginManager() {
    if (!isset($this->pluginManager)) {
        $this->pluginManager = \Drupal::service('plugin.manager.rest');
    }
    return $this->pluginManager;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal