function views_get_plugin
Get a handler for a plugin.
Return value
views_plugin The created plugin object.
16 calls to views_get_plugin()
- view::init_display in includes/
view.inc - Set the display for this view and initialize the display handler.
- view::init_localization in includes/
view.inc - Find and initialize the localization plugin.
- view::init_query in includes/
view.inc - Do some common building initialization.
- view::init_style in includes/
view.inc - Find and initialize the style plugin.
- ViewsUiBaseViewsWizard::build_form_style in plugins/
views_wizard/ views_ui_base_views_wizard.class.php - Build the part of the form that builds the display format options.
File
-
./
views.module, line 1478
Code
function views_get_plugin($type, $plugin, $reset = FALSE) {
views_include('handlers');
$definition = views_fetch_plugin_data($type, $plugin, $reset);
if (!empty($definition)) {
return _views_create_handler($definition, $type);
}
}