| 7 aggregator.api.php | hook_aggregator_fetch_info() |
| 8 aggregator.api.php | hook_aggregator_fetch_info() |
Specify the title and short description of your fetcher.
The title and the description provided are shown on admin/config/services/aggregator among other places. Use as title the human readable name of the fetcher and as description a brief (40 to 80 characters) explanation of the fetcher's functionality.
This hook is only called if your module implements hook_aggregator_fetch(). If this hook is not implemented aggregator will use your module's file name as title and there will be no description.
Return value
An associative array defining a title and a description string.
See also
Related topics
1 function implements hook_aggregator_fetch_info()
1 invocation of hook_aggregator_fetch_info()
File
- core/
modules/ aggregator/ aggregator.api.php, line 62 - Documentation for aggregator API.
Code
function hook_aggregator_fetch_info() {
return array(
'title' => t('Default fetcher'),
'description' => t('Default fetcher for resources available by URL.'),
);
}
Login or register to post comments