stableversion-3.0
Last change
on this file since 92213c1 was
177a560,
checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago
|
se agrego el directorio de modulos contribuidos de drupal
|
-
Propiedad mode establecida a
100755
|
File size:
949 octetos
|
Ver. | Línea | |
---|
[177a560] | 1 | <?php |
---|
| 2 | |
---|
| 3 | /** |
---|
| 4 | * Implementation of hook_ctools_plugin_api(). |
---|
| 5 | */ |
---|
| 6 | function feeds_fast_news_ctools_plugin_api() { |
---|
| 7 | list($module, $api) = func_get_args(); |
---|
| 8 | if ($module == "data" && $api == "data_default") { |
---|
| 9 | return array("version" => 1); |
---|
| 10 | } |
---|
| 11 | elseif ($module == "data" && $api == "data_table") { |
---|
| 12 | return array("version" => 1); |
---|
| 13 | } |
---|
| 14 | elseif ($module == "feeds" && $api == "feeds_importer_default") { |
---|
| 15 | return array("version" => 1); |
---|
| 16 | } |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | /** |
---|
| 20 | * Implementation of hook_node_info(). |
---|
| 21 | */ |
---|
| 22 | function feeds_fast_news_node_info() { |
---|
| 23 | $items = array( |
---|
| 24 | 'feed_fast' => array( |
---|
| 25 | 'name' => t('Fast feed'), |
---|
| 26 | 'module' => 'node', |
---|
| 27 | 'description' => t('Subscribe to RSS or Atom feeds. Create light weight database records from feed content.'), |
---|
| 28 | 'has_title' => '1', |
---|
| 29 | 'title_label' => t('Title'), |
---|
| 30 | 'has_body' => '1', |
---|
| 31 | 'body_label' => t('Body'), |
---|
| 32 | 'min_word_count' => '0', |
---|
| 33 | 'help' => '', |
---|
| 34 | ), |
---|
| 35 | ); |
---|
| 36 | return $items; |
---|
| 37 | } |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.