function RestResourceConfigInterface::getResourcePlugin

Same name in other branches
  1. 9 core/modules/rest/src/RestResourceConfigInterface.php \Drupal\rest\RestResourceConfigInterface::getResourcePlugin()
  2. 8.9.x core/modules/rest/src/RestResourceConfigInterface.php \Drupal\rest\RestResourceConfigInterface::getResourcePlugin()
  3. 11.x 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\rest

Code

public function getResourcePlugin();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.