You are here

function high_contrast_block_view_alter in High contrast 8

Implements hook_block_view_alter().

File

./high_contrast.module, line 58
Allows users to switch to a high contrast version of the active theme.

Code

function high_contrast_block_view_alter(array &$build, BlockPluginInterface $block) {
  $build['#pre_render'][] = '\\Drupal\\high_contrast\\HighContrastBlockView::preRender';
}