function ctools_plugin_get_info

Ask a module for info about a particular plugin type.

2 calls to ctools_plugin_get_info()
ctools_plugin_get_class in includes/plugins.inc
Get a class from a plugin, if it exists. If the plugin is not already loaded, try ctools_plugin_load_class() instead.
ctools_plugin_get_function in includes/plugins.inc
Get a function from a plugin, if it exists. If the plugin is not already loaded, try ctools_plugin_load_function() instead.

File

includes/plugins.inc, line 772

Code

function ctools_plugin_get_info($module, $type) {
    $all_info = ctools_plugin_get_plugin_type_info();
    return isset($all_info[$module][$type]) ? $all_info[$module][$type] : array();
}