hook_aggregator_process_info

Versions
7
hook_aggregator_process_info($feed)

Implement this hook to expose the title and a short description of your processor.

The title and the description provided are shown most importantly on admin/config/services/aggregator. Use as title the natural name of the processor and as description a brief (40 to 80 characters) explanation of the functionality.

This hook is only called if your module implements hook_aggregator_process(). If this hook is not implemented aggregator will use your module's file name as title and there will be no description.

See also

hook_aggregator_process()

Return value

An associative array defining a title and a description string.

Related topics

Code

modules/aggregator/aggregator.api.php, line 199

<?php
function hook_aggregator_process_info($feed) {
  return array(
    'title' => t('Default processor'),
    'description' => t('Creates lightweight records of feed items.'),
  );
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.