You are here

public function CachedDiscoveryClearerInterface::addCachedDiscovery in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.

2 methods override CachedDiscoveryClearerInterface::addCachedDiscovery()
CachedDiscoveryClearer::addCachedDiscovery in core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php
Adds a plugin manager to the active list.
CachedDiscoveryClearer::addCachedDiscovery in core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php
Adds a plugin manager to the active list.

File

core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php, line 24
Contains \Drupal\Core\Plugin\CachedDiscoveryClearerInterface.

Class

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

Namespace

Drupal\Core\Plugin

Code

public function addCachedDiscovery(CachedDiscoveryInterface $cached_discovery);