You are here

public function PluginBase::destroy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 262
Contains \Drupal\views\Plugin\views\PluginBase.

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);
}