You are here

public function RestResourceConfigInterface::getResourcePlugin in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/rest/src/RestResourceConfigInterface.php \Drupal\rest\RestResourceConfigInterface::getResourcePlugin()
  2. 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\rest

Code

public function getResourcePlugin();