Change record status: 
Project: 
Introduced in branch: 
8.8.x
Introduced in version: 
8.8.0-alpha1
Description: 

hook_views_ui_display_tab_alter is now triggered in themes as well so that themes styling Views UI can use it. This hook can be used for modifying the tab contents.

Example:

function hook_views_ui_display_tab_alter(&$build, \Drupal\views_ui\ViewUI $view, $display_id) {
  $build['custom']['#markup'] = 'This text should always appear';
}

There's also a new alter hook hook_views_ui_display_top_alter for altering the top region of the Views UI page. This is triggered both in modules and themes.

Example:

function hook_views_ui_display_top_alter(&$build, \Drupal\views_ui\ViewUI $view, $display_id) {
  $build['custom']['#markup'] = 'This text should always appear';
}
Impacts: 
Module developers
Themers