hook_aggregator_fetch_info

  1. drupal
    1. drupal7
Versionen
drupal7 hook_aggregator_fetch_info()

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

The title and the description provided are shown on admin/settings/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.

see hook_aggregator_fetch()

Rückgabewert

An associative array defining a title and a description string.

Verwandte Themen

Code

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

<?php
function hook_aggregator_fetch_info() {
  return array(
    'title' => t('Default fetcher'),
    'description' => t('Default fetcher for resources available by URL.'),
  );
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen