1 views_plugin_display.inc &views_plugin_display::get_handler($type, $id)

Get the handler object for a single handler.

File

core/modules/views/plugins/views_plugin_display.inc, line 897
Contains the base display plugin.

Class

views_plugin_display
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Code

function &get_handler($type, $id) {
  if (!isset($this->handlers[$type])) {
    $this->get_handlers($type);
  }

  if (isset($this->handlers[$type][$id])) {
    return $this->handlers[$type][$id];
  }

  // So we can return a reference.
  $null = NULL;
  return $null;
}