protected function MutationPluginManager::setCachedDefinitions in GraphQL 8.3
Sets a cache of plugin definitions for the decorated discovery class.
Parameters
array $definitions: List of definitions to store in cache.
Overrides DefaultPluginManager::setCachedDefinitions
File
- src/
Plugin/ MutationPluginManager.php, line 82
Class
Namespace
Drupal\graphql\PluginCode
protected function setCachedDefinitions($definitions) {
$this->definitions = $definitions;
$this
->cacheSet($this->cacheKey, $definitions, $this
->getCacheMaxAge(), $this
->getCacheTags());
}