function test_basetheme_views_post_render

Same name in other branches
  1. 9 core/modules/system/tests/themes/test_basetheme/test_basetheme.theme \test_basetheme_views_post_render()
  2. 8.9.x core/modules/system/tests/themes/test_basetheme/test_basetheme.theme \test_basetheme_views_post_render()
  3. 10 core/modules/system/tests/themes/test_basetheme/test_basetheme.theme \test_basetheme_views_post_render()

Implements hook_views_post_render().

File

core/modules/system/tests/themes/test_basetheme/test_basetheme.theme, line 24

Code

function test_basetheme_views_post_render(ViewExecutable $view, &$output, CachePluginBase $cache) {
    // We append the function name to the title for test to check for.
    $view->setTitle($view->getTitle() . ":" . __FUNCTION__);
}

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