function PostSaveProcess::addDiscoveryToClear
Queues a plugin manager to have its cached definitions cleared.
Parameters
\Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface $discovery: The plugin manager (or other discovery) to clear.
File
-
core/
modules/ views/ src/ PostSaveProcess.php, line 44
Class
- PostSaveProcess
- Defines the post save process value object.
Namespace
Drupal\viewsCode
public function addDiscoveryToClear(CachedDiscoveryInterface $discovery) : void {
$this->discoveriesToClear[get_class($discovery)] = $discovery;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.