1 views.module views_get_plugin($type, $plugin, $reset = FALSE)

Get a handler for a plugin

Return value

views_plugin:

The created plugin object.

File

core/modules/views/views.module, line 1199
Primarily Backdrop hooks and global API functions to manipulate views.

Code

function views_get_plugin($type, $plugin, $reset = FALSE) {
  views_include('utility');
  $definition = views_fetch_plugin_data($type, $plugin, $reset);
  if (!empty($definition)) {
    return _views_create_handler($definition, $type);
  }
}