You are here

public function ResourceManagerInterface::negotiate in RESTful 7.2

Gets the resource plugin based on the information in the request object.

Return value

ResourceInterface The resource plugin instance.

Throws

ServerConfigurationException If the plugin could not be found.

1 method overrides ResourceManagerInterface::negotiate()
ResourceManager::negotiate in src/Resource/ResourceManager.php
Gets the resource plugin based on the information in the request object.

File

src/Resource/ResourceManagerInterface.php, line 78
Contains \Drupal\restful\Resource\ResourceManagerInterface.

Class

ResourceManagerInterface

Namespace

Drupal\restful\Resource

Code

public function negotiate();