summaryrefslogtreecommitdiffstats
path: root/core/modules/aggregator/aggregator.theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/aggregator/aggregator.theme.inc')
-rw-r--r--core/modules/aggregator/aggregator.theme.inc17
1 files changed, 0 insertions, 17 deletions
diff --git a/core/modules/aggregator/aggregator.theme.inc b/core/modules/aggregator/aggregator.theme.inc
index 706a01e..75c31dd 100644
--- a/core/modules/aggregator/aggregator.theme.inc
+++ b/core/modules/aggregator/aggregator.theme.inc
@@ -48,20 +48,3 @@ function template_preprocess_aggregator_feed(&$variables) {
$variables['full'] = $variables['elements']['#view_mode'] == 'full';
$variables['title'] = String::checkPlain($feed->label());
}
-
-/**
- * Prepares variables for individual feed item block templates.
- *
- * Default template: aggregator-block-item.html.twig.
- *
- * @param array $variables
- * An associative array containing:
- * - item: The item to be displayed.
- * - feed: Not used.
- */
-function template_preprocess_aggregator_block_item(&$variables) {
- // Display the external link to the item.
- $item = $variables['item'];
- $variables['url'] = check_url($item->getLink());
- $variables['title'] = String::checkPlain($item->label());
-}