You are here

public function StylePluginBase::destroy in Views (for Drupal 7) 8.3

Clears a plugin.

Overrides PluginBase::destroy

File

lib/Drupal/views/Plugin/views/style/StylePluginBase.php, line 108
Definition of Drupal\views\Plugin\views\style\StylePluginBase.

Class

StylePluginBase
Base class to define a style plugin handler.

Namespace

Drupal\views\Plugin\views\style

Code

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