function hook_aggregator_process_info

hook_aggregator_process_info()

Specify the title and short description of your processor.

The title and the description provided are shown within the configuration page. 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.

Return value

An associative array defining a title and a description string.

See also

hook_aggregator_process()

Related topics

File

modules/aggregator/aggregator.api.php, line 192
Documentation for aggregator API.

Code

function hook_aggregator_process_info() {
  return array(
    'title' => t('Default processor'),
    'description' => t('Creates lightweight records of feed items.'),
  );
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!aggregator!aggregator.api.php/function/hook_aggregator_process_info/7.x