function PluginBase::destroy

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::destroy()
  2. 8.9.x core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::destroy()
  3. 10 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
StylePluginBase::destroy in core/modules/views/src/Plugin/views/style/StylePluginBase.php
2 methods override PluginBase::destroy()
DisplayPluginBase::destroy in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
StylePluginBase::destroy in core/modules/views/src/Plugin/views/style/StylePluginBase.php

File

core/modules/views/src/Plugin/views/PluginBase.php, line 263

Class

PluginBase
Base class for any views plugin types.

Namespace

Drupal\views\Plugin\views

Code

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.