function PluginBase::destroy
Same name in other branches
- 9 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::destroy()
- 10 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::destroy()
- 11.x core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::destroy()
Overrides ViewsPluginInterface::destroy
2 calls to PluginBase::destroy()
- DisplayPluginBase::destroy in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Clears a plugin.
- StylePluginBase::destroy in core/
modules/ views/ src/ Plugin/ views/ style/ StylePluginBase.php - Clears a plugin.
2 methods override PluginBase::destroy()
- DisplayPluginBase::destroy in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Clears a plugin.
- StylePluginBase::destroy in core/
modules/ views/ src/ Plugin/ views/ style/ StylePluginBase.php - Clears a plugin.
File
-
core/
modules/ views/ src/ Plugin/ views/ PluginBase.php, line 259
Class
- PluginBase
- Base class for any views plugin types.
Namespace
Drupal\views\Plugin\viewsCode
public function destroy() {
unset($this->view, $this->display, $this->query);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.