public static BlockViewBuilder::preRender($build)
#pre_render callback for building a block.
Renders the content using the provided block plugin, and then:
if there is no content, aborts rendering, and makes sure the block won't be rendered. if there is content, moves the contextual links from the block content to the block itself.
File
core/modules/block/src/BlockViewBuilder.php, line 202
Class
BlockViewBuilder Provides a Block view builder.
Namespace
Drupal\block
Code
public stati