hook_aggregator_parse_info
- Versions
- 7
hook_aggregator_parse_info()
Implement this hook to expose the title and a short description of your parser.
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 parser and as description a brief (40 to 80 characters) explanation of the parser's functionality.
This hook is only called if your module implements hook_aggregator_parse(). If this hook is not implemented aggregator will use your module's file name as title and there will be no description.
See also
Return value
An associative array defining a title and a description string.
Related topics
Code
modules/aggregator/aggregator.api.php, line 141
<?php
function hook_aggregator_parse_info() {
return array(
'title' => t('Default parser'),
'description' => t('Default parser for RSS, Atom and RDF feeds.'),
);
}
?>Login or register to post comments 