function views_test_rss_preprocess_views_view_rss
Same name in other branches
- 9 core/modules/views/tests/modules/views_test_rss/views_test_rss.module \views_test_rss_preprocess_views_view_rss()
- 10 core/modules/views/tests/modules/views_test_rss/views_test_rss.module \views_test_rss_preprocess_views_view_rss()
- 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.