summaryrefslogtreecommitdiffstats
path: root/views_rss.module
blob: d2a4826e555a73e536d9bd726192c5a797cfbb4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
// $Id$ 

/**
 * Implementation of hook_views_api().
 */
function views_rss_views_api() {
  return array(
    'api' => 2,
    'path' => drupal_get_path('module', 'views_rss') .'/views',
  );
}

/**
 * Implementation of hook_theme().
 */
function views_rss_theme() {
  $path = drupal_get_path('module', 'views_rss');
  return array(
    'views_rss_fields_item' => array(
      'arguments' => array('item' => array()),
      'file' => 'views_rss_views_fields.theme.inc',
      'template' => 'views-rss-fields-item',
      'path' => "$path/views",
    ),
   'views_rss_feed_icon' => array(
      'arguments' => array('url', 'title', 'icon'),
      'file' => 'views_rss_views_fields.theme.inc',
      'path' => "$path/views",
    ),
    'views_rss_feed_description' => array(
       'arguments' => array('description', 'view'),
       'file' => 'views_rss_views_fields.theme.inc',
       'path' => "$path/views",
     ),
  );
}