public function StylePluginBase::destroy in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::destroy()
- 10 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::destroy()
Clears a plugin.
Overrides PluginBase::destroy
File
- core/
modules/ views/ src/ Plugin/ views/ style/ StylePluginBase.php, line 134
Class
- StylePluginBase
- Base class for views style plugins.
Namespace
Drupal\views\Plugin\views\styleCode
public function destroy() {
parent::destroy();
if (isset($this->view->rowPlugin)) {
$this->view->rowPlugin
->destroy();
}
}