function linkit_search_plugin_load in Linkit 7.3
Fetch metadata for one Linkit search plugin by the given name.
Parameters
$plugin_name: A string with the name of the plugin to load.
Return value
An array with information about the search plugin.
1 call to linkit_search_plugin_load()
- LinkitProfile::setEnabledsearchPlugins in includes/
profile.class.php - Set all enabled search plugins.
File
- ./
linkit.module, line 262 - Main file for Linkit module.
Code
function linkit_search_plugin_load($plugin_name) {
ctools_include('plugins');
$plugin = ctools_get_plugins('linkit', 'linkit_search', $plugin_name);
// If you alter the plugin handler, be sure the new handler is registerd or
// you include it in some other way.
drupal_alter('linkit_search_plugin', $plugin);
return $plugin;
}