1 view.inc view::get_path()

Get the base path used for this view.

File

core/modules/views/includes/view.inc, line 1681
Provides the view object type and associated methods.

Class

view

Code

function get_path() {
  if (!empty($this->override_path)) {
    return $this->override_path;
  }

  if (empty($this->display_handler)) {
    if (!$this->set_display('default')) {
      return FALSE;
    }
  }
  return $this->display_handler->get_path();
}