function RenderExampleController::trustedCallbacks
Same name in other branches
- 3.x modules/render_example/src/Controller/RenderExampleController.php \Drupal\render_example\Controller\RenderExampleController::trustedCallbacks()
Overrides TrustedCallbackInterface::trustedCallbacks
File
-
modules/
render_example/ src/ Controller/ RenderExampleController.php, line 556
Class
- RenderExampleController
- Provides module description page and examples of building render arrays.
Namespace
Drupal\render_example\ControllerCode
public static function trustedCallbacks() {
return [
'postRenderAddPrefix',
'preRenderAddSuffix',
'lazyBuilder',
];
}