function color_block_view_pre_render

#pre_render callback: Sets color preset logo.

Deprecated

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\color\ColorSystemBrandingBlockAlter::preRender() instead.

See also

https://www.drupal.org/node/2966725

1 call to color_block_view_pre_render()
ColorLegacyTest::testColorSystemBrandingBlockAlterPreRender in core/modules/color/tests/src/Kernel/ColorLegacyTest.php
Tests color_block_view_pre_render() deprecation.

File

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

Code

function color_block_view_pre_render(array $build) {
    @trigger_error('color_block_view_pre_render() is deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Use \\Drupal\\color\\ColorSystemBrandingBlockAlter::preRender() instead. See https://www.drupal.org/node/2966725', E_USER_DEPRECATED);
    return ColorSystemBrandingBlockAlter::preRender($build);
}

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