function views_test_rss_preprocess_views_view_rss

Same name and namespace in other branches
  1. 8.9.x core/modules/views/tests/modules/views_test_rss/views_test_rss.module \views_test_rss_preprocess_views_view_rss()
  2. 10 core/modules/views/tests/modules/views_test_rss/views_test_rss.module \views_test_rss_preprocess_views_view_rss()
  3. 11.x core/modules/views/tests/modules/views_test_rss/views_test_rss.module \views_test_rss_preprocess_views_view_rss()

Implements hook_preprocess_HOOK().

File

core/modules/views/tests/modules/views_test_rss/views_test_rss.module, line 11

Code

function views_test_rss_preprocess_views_view_rss(&$variables) {
    $variables['channel_elements'][] = [
        '#type' => 'html_tag',
        '#tag' => 'copyright',
        '#value' => t('Copyright 2019 Dries Buytaert'),
    ];
}

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