function CachedDiscoveryClearerInterface::addCachedDiscovery

Same name in other branches
  1. 9 core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php \Drupal\Core\Plugin\CachedDiscoveryClearerInterface::addCachedDiscovery()
  2. 8.9.x core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php \Drupal\Core\Plugin\CachedDiscoveryClearerInterface::addCachedDiscovery()

Adds a plugin manager to the active list.

Parameters

\Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface $cached_discovery: An object that implements the cached discovery interface, typically a plugin manager.

File

core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php, line 19

Class

CachedDiscoveryClearerInterface
Provides a way to clear static caches of all plugin managers.

Namespace

Drupal\Core\Plugin

Code

public function addCachedDiscovery(CachedDiscoveryInterface $cached_discovery);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.