function menu_token_get_plugin in Menu Token 7
Retrieves a menu token plugin.
Parameters
$name: The name of a plugin.
Return value
An array containing information about the plugin as returned by the ctools plugin API.
1 call to menu_token_get_plugin()
- menu_token_get_handler in ./
menu_token.module - Retrieves the handler of a menu token plugin.
File
- ./
menu_token.module, line 316 - Main module file for the Menu Token module.
Code
function menu_token_get_plugin($name) {
$plugins = _menu_token_plugin_info()->plugins;
if (isset($plugins[$name])) {
return $plugins[$name];
}
return FALSE;
}