function NodeViewBuilder::trustedCallbacks
Same name in other branches
- 9 core/modules/node/src/NodeViewBuilder.php \Drupal\node\NodeViewBuilder::trustedCallbacks()
- 8.9.x core/modules/node/src/NodeViewBuilder.php \Drupal\node\NodeViewBuilder::trustedCallbacks()
- 11.x core/modules/node/src/NodeViewBuilder.php \Drupal\node\NodeViewBuilder::trustedCallbacks()
Overrides EntityViewBuilder::trustedCallbacks
File
-
core/
modules/ node/ src/ NodeViewBuilder.php, line 156
Class
- NodeViewBuilder
- View builder handler for nodes.
Namespace
Drupal\nodeCode
public static function trustedCallbacks() {
$callbacks = parent::trustedCallbacks();
$callbacks[] = 'renderLinks';
return $callbacks;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.