function views_test_classy_subtheme_views_ui_display_top_alter

Same name in other branches
  1. 9 core/modules/views_ui/tests/themes/views_test_classy_subtheme/views_test_classy_subtheme.theme \views_test_classy_subtheme_views_ui_display_top_alter()

Implements hook_views_ui_display_top_alter().

File

core/modules/views_ui/tests/themes/views_test_classy_subtheme/views_test_classy_subtheme.theme, line 20

Code

function views_test_classy_subtheme_views_ui_display_top_alter(&$build, ViewUI $view, $display_id) {
    $build['tabs']['#suffix'] .= 'This is text added to the display tabs at the top';
}

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