Révision 41cc1b08
Ajouté par Assos Assos il y a presque 9 ans
drupal7/sites/all/modules/feeds/feeds_news/feeds_news.features.inc | ||
---|---|---|
5 | 5 |
*/ |
6 | 6 |
|
7 | 7 |
/** |
8 |
* Implementation of hook_ctools_plugin_api().
|
|
8 |
* Implements hook_ctools_plugin_api().
|
|
9 | 9 |
*/ |
10 |
function feeds_news_ctools_plugin_api() { |
|
11 |
list($module, $api) = func_get_args(); |
|
10 |
function feeds_news_ctools_plugin_api($module = NULL, $api = NULL) { |
|
12 | 11 |
if ($module == "feeds" && $api == "feeds_importer_default") { |
13 |
return array("version" => 1);
|
|
12 |
return array("version" => "1");
|
|
14 | 13 |
} |
15 | 14 |
} |
16 | 15 |
|
17 | 16 |
/** |
18 |
* Implementation of hook_views_api().
|
|
17 |
* Implements hook_views_api().
|
|
19 | 18 |
*/ |
20 |
function feeds_news_views_api() { |
|
21 |
list($module, $api) = func_get_args(); |
|
22 |
if ($module == "views" && $api == "views_default") { |
|
23 |
return array("version" => 3.0); |
|
24 |
} |
|
19 |
function feeds_news_views_api($module = NULL, $api = NULL) { |
|
20 |
return array("api" => "3.0"); |
|
25 | 21 |
} |
26 | 22 |
|
27 | 23 |
/** |
28 |
* Implementation of hook_node_info().
|
|
24 |
* Implements hook_node_info().
|
|
29 | 25 |
*/ |
30 | 26 |
function feeds_news_node_info() { |
31 | 27 |
$items = array( |
Formats disponibles : Unified diff
Update feeds 7.x-2.0-alpha9 -> 7.x-2.0-beta1
Install lib simplepie 1.3.1