You are here

function aggregator_theme in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/aggregator/aggregator.module \aggregator_theme()
  2. 6 modules/aggregator/aggregator.module \aggregator_theme()
  3. 7 modules/aggregator/aggregator.module \aggregator_theme()

Implements hook_theme().

File

core/modules/aggregator/aggregator.module, line 63
Used to aggregate syndicated content (RSS, RDF, and Atom).

Code

function aggregator_theme() {
  return [
    'aggregator_feed' => [
      'render element' => 'elements',
      'file' => 'aggregator.theme.inc',
    ],
    'aggregator_item' => [
      'render element' => 'elements',
      'file' => 'aggregator.theme.inc',
    ],
  ];
}