1 base.inc views_object::destroy()

File

core/modules/views/includes/base.inc, line 184
Provides the basic object definitions used by plugins and handlers.

Class

views_object

Code

function destroy() {
  if (isset($this->view)) {
    unset($this->view);
  }

  if (isset($this->display)) {
    unset($this->display);
  }

  if (isset($this->query)) {
    unset($this->query);
  }
}