function color_block_view_system_branding_block_alter

Same name and namespace in other branches
  1. 8.9.x core/modules/color/color.module \color_block_view_system_branding_block_alter()

Implements hook_block_view_BASE_BLOCK_ID_alter().

File

core/modules/color/color.module, line 118

Code

function color_block_view_system_branding_block_alter(array &$build, BlockPluginInterface $block) {
  $build['#pre_render'][] = [
    ColorSystemBrandingBlockAlter::class,
    'preRender',
  ];
}

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