function announcements_feed_theme

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

Implements hook_theme().

File

core/modules/announcements_feed/announcements_feed.module, line 90

Code

function announcements_feed_theme($existing, $type, $theme, $path) {
    return [
        'announcements_feed' => [
            'variables' => [
                'featured' => NULL,
                'standard' => NULL,
                'count' => 0,
                'feed_link' => '',
            ],
        ],
        'announcements_feed_admin' => [
            'variables' => [
                'featured' => NULL,
                'standard' => NULL,
                'count' => 0,
                'feed_link' => '',
            ],
        ],
    ];
}

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