function views_plugin_display::construct

Overrides views_object::construct

File

plugins/views_plugin_display.inc, line 189

Class

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

Code

function construct() {
    // Load extenders as soon as possible
    $this->extender = array();
    foreach (array_filter(variable_get('views_display_extenders', array())) as $extender) {
        $data = views_fetch_plugin_data('display_extender', $extender);
        views_include_handler($data['handler'], $data, 'display_extender');
        $this->extender[$extender] = new $data['handler']($this->view, $this);
    }
    parent::construct();
}