function PostSaveProcess::addDiscoveryToClear
Same name and namespace in other branches
- 11.x core/modules/views/src/PostSaveProcess.php \Drupal\views\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.