public function PluginBase::destroy in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::destroy()
Clears a plugin.
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);
}