function BlockViewBuilder::trustedCallbacks
Same name in other branches
- 9 core/modules/block/src/BlockViewBuilder.php \Drupal\block\BlockViewBuilder::trustedCallbacks()
- 8.9.x core/modules/block/src/BlockViewBuilder.php \Drupal\block\BlockViewBuilder::trustedCallbacks()
- 10 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\blockCode
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.