function ctools_views_views_plugins_display_alter

Same name in other branches
  1. 8.x-3.x modules/ctools_views/ctools_views.module \ctools_views_views_plugins_display_alter()

Implements hook_views_plugins_display_alter().

File

modules/ctools_views/ctools_views.module, line 14

Code

function ctools_views_views_plugins_display_alter(&$displays) {
    if (!empty($displays['block']['class']) && $displays['block']['class'] == CoreBlock::class) {
        $displays['block']['class'] = Block::class;
    }
}