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

Breadcrumb

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

function RestResourceConfig::getResourcePlugin

Overrides RestResourceConfigInterface::getResourcePlugin

File

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

Class

RestResourceConfig
Defines a RestResourceConfig configuration entity class.

Namespace

Drupal\rest\Entity

Code

public function getResourcePlugin() {
    return $this->getPluginCollections()['resource']
        ->get($this->plugin_id);
}
RSS feed
Powered by Drupal