You are here

public function ResourceManager::clearPluginCache in RESTful 7.2

Clears the static cache version of the plugin.

Parameters

string $instance_id: Instance ID of the plugin.

Overrides ResourceManagerInterface::clearPluginCache

File

src/Resource/ResourceManager.php, line 117
Contains \Drupal\restful\Resource\ResourceManager.

Class

ResourceManager

Namespace

Drupal\restful\Resource

Code

public function clearPluginCache($instance_id) {
  $this->plugins
    ->remove($instance_id);
}