1 views_plugin_display_block.inc views_plugin_display_block::get_path()

Return the base path to use for this display.

This can be overridden for displays that do strange things with the path.

Overrides views_plugin_display::get_path

File

core/modules/views/plugins/views_plugin_display_block.inc, line 455
Contains the block display plugin.

Class

views_plugin_display_block
The plugin that handles a block.

Code

function get_path() {
  if (empty($this->view->override_path)) {
    return parent::get_path();
  }
  return $this->view->override_path;
}