function views_get_plugin
Same name in other branches
- 7.x-3.x views.module \views_get_plugin()
Get a handler for a plugin
Return value
views_plugin
The created plugin object.
14 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 localizer 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.
- views_db_object::new_display in includes/
view.inc - Create a new display and a display handler for it.
File
-
./
views.module, line 919
Code
function views_get_plugin($type, $plugin, $reset = FALSE) {
$definition = views_fetch_plugin_data($type, $plugin, $reset);
if (!empty($definition)) {
return _views_create_handler($definition, $type);
}
}