function RenderExampleController::trustedCallbacks

Same name in other branches
  1. 8.x-1.x render_example/src/Controller/RenderExampleController.php \Drupal\render_example\Controller\RenderExampleController::trustedCallbacks()
  2. 4.0.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\Controller

Code

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