function announcements_feed_theme

Same name and namespace in other branches
  1. 10 core/modules/announcements_feed/announcements_feed.module \announcements_feed_theme()
  2. 11.x core/modules/announcements_feed/announcements_feed.module \announcements_feed_theme()

Implements hook_theme().

File

modules/announcements_feed/announcements_feed.module, line 87

Code

function announcements_feed_theme() {
    return array(
        'announcements_feed' => array(
            'variables' => array(
                'featured' => NULL,
                'standard' => NULL,
                'feed_link' => NULL,
                'count' => 0,
            ),
            'template' => 'announcements-feed',
            'path' => drupal_get_path('module', 'announcements_feed'),
        ),
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.