function views_get_plugin in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 8.3 views.module \views_get_plugin()
- 6.3 views.module \views_get_plugin()
- 6.2 views.module \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 - Primarily Drupal hooks and global API functions to manipulate views.
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);
}
}