You are here

function views_rss_theme in Views RSS 7

Same name and namespace in other branches
  1. 6.2 views_rss.module \views_rss_theme()
  2. 6 views_rss.module \views_rss_theme()

Implements hook_theme().

File

./views_rss.module, line 16

Code

function views_rss_theme() {
  $path = drupal_get_path('module', 'views_rss');
  return array(
    'views_rss_fields_item' => array(
      'variables' => array(
        'item' => NULL,
      ),
      'file' => 'views_rss_views_fields.theme.inc',
      'path' => "{$path}/views",
    ),
    'views_rss_fields_element' => array(
      'variables' => array(
        'key' => NULL,
        'element' => NULL,
      ),
      'file' => 'views_rss_views_fields.theme.inc',
      'path' => "{$path}/views",
    ),
    'views_rss_feed_icon' => array(
      'variables' => array(
        'url',
        'title',
        'icon',
      ),
      'file' => 'views_rss_views_fields.theme.inc',
      'path' => "{$path}/views",
    ),
    'views_rss_feed_description' => array(
      'variables' => array(
        'description',
        'view',
      ),
      'file' => 'views_rss_views_fields.theme.inc',
      'path' => "{$path}/views",
    ),
  );
}