function 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

1 function implements hook_aggregator_process_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

aggregator_aggregator_process_info in modules/aggregator/aggregator.processor.inc
Implements hook_aggregator_process_info().
2 invocations of hook_aggregator_process_info()
aggregator_admin_form in modules/aggregator/aggregator.admin.inc
Form constructor for the aggregator system settings.
aggregator_form_aggregator_admin_form_alter in modules/aggregator/aggregator.processor.inc
Implements hook_form_aggregator_admin_form_alter().

File

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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.