function linkit_insert_plugin_load in Linkit 7.3
Fetch metadata for one Linkit insert 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 insert plugin.
1 call to linkit_insert_plugin_load()
- linkit_field_element_after_build in ./
linkit.field.inc - After build callback.
File
- ./
linkit.module, line 293 - Main file for Linkit module.
Code
function linkit_insert_plugin_load($plugin_name) {
ctools_include('plugins');
// Load all insert plugins.
$plugins = ctools_get_plugins('linkit', 'linkit_insert', $plugin_name);
return $plugins;
}