function feedapi_get_natural_name in FeedAPI 6
Same name and namespace in other branches
- 5 feedapi.module \feedapi_get_natural_name()
Get the module-defined natural name of FeedAPI parser or processor Define this name in hook_help():
function hook_help($section) { switch ($section) { case 'feedapi/full_name': return t('Natural name'); break; } }
1 call to feedapi_get_natural_name()
- feedapi_form_alter in ./
feedapi.module - Implementation of hook_form_alter().
File
- ./
feedapi.module, line 827 - Handle the submodules (for feed and item processing) Provide a basic management of feeds
Code
function feedapi_get_natural_name($module) {
$help = $module . '_help';
$module_natural = function_exists($help) ? $help('feedapi/full_name', '') : $module;
return empty($module_natural) ? $module : $module_natural;
}