public function LazyPluginCollection::clear in Plug 7
Clears all instantiated plugins.
File
- lib/
Drupal/ Component/ Plugin/ LazyPluginCollection.php, line 60 - Contains \Drupal\Component\Plugin\LazyPluginCollection.
Class
- LazyPluginCollection
- Defines an object which stores multiple plugin instances to lazy load them.
Namespace
Drupal\Component\PluginCode
public function clear() {
$this->pluginInstances = array();
}