views_get_plugin

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

Get a handler for a plugin

Return value

views_plugin

The created plugin object.

14 calls to views_get_plugin()

File

./views.module, line 919
Primarily Drupal hooks and global API functions to manipulate views.

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);
  }
}
Login or register to post comments