function StylePluginBase::destroy

Overrides PluginBase::destroy

File

core/modules/views/src/Plugin/views/style/StylePluginBase.php, line 143

Class

StylePluginBase
Base class for views style plugins.

Namespace

Drupal\views\Plugin\views\style

Code

public function destroy() {
  parent::destroy();
  if (isset($this->view->rowPlugin)) {
    $this->view->rowPlugin
      ->destroy();
  }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.