function BlockViewBuilder::trustedCallbacks

Same name in other branches
  1. 8.9.x core/modules/block/src/BlockViewBuilder.php \Drupal\block\BlockViewBuilder::trustedCallbacks()
  2. 10 core/modules/block/src/BlockViewBuilder.php \Drupal\block\BlockViewBuilder::trustedCallbacks()
  3. 11.x core/modules/block/src/BlockViewBuilder.php \Drupal\block\BlockViewBuilder::trustedCallbacks()

Overrides EntityViewBuilder::trustedCallbacks

File

core/modules/block/src/BlockViewBuilder.php, line 142

Class

BlockViewBuilder
Provides a Block view builder.

Namespace

Drupal\block

Code

public static function trustedCallbacks() {
    return [
        'preRender',
        'lazyBuilder',
    ];
}

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