function views_plugin_display::get_handler
Same name in other branches
- 7.x-3.x plugins/views_plugin_display.inc \views_plugin_display::get_handler()
Get the handler object for a single handler.
File
-
plugins/
views_plugin_display.inc, line 824
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;
}