Unverified Commit f88a6638 authored by alexpott's avatar alexpott
Browse files

Issue #3116213 by andypost: Remove REST ResourcePluginManager::getInstance()

parent 458e132a
......@@ -34,19 +34,4 @@ public function __construct(\Traversable $namespaces, CacheBackendInterface $cac
$this->alterInfo('rest_resource');
}
/**
* {@inheritdoc}
*
* @deprecated in Drupal 8.2.0.
* Use Drupal\rest\Plugin\Type\ResourcePluginManager::createInstance()
* instead.
*
* @see https://www.drupal.org/node/2874934
*/
public function getInstance(array $options) {
if (isset($options['id'])) {
return $this->createInstance($options['id']);
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment