function StreamWrapperExampleController::description

Same name in other branches
  1. 8.x-1.x stream_wrapper_example/src/Controller/StreamWrapperExampleController.php \Drupal\stream_wrapper_example\Controller\StreamWrapperExampleController::description()
  2. 4.0.x modules/stream_wrapper_example/src/Controller/StreamWrapperExampleController.php \Drupal\stream_wrapper_example\Controller\StreamWrapperExampleController::description()

Description page for the example.

1 string reference to 'StreamWrapperExampleController::description'
stream_wrapper_example.routing.yml in modules/stream_wrapper_example/stream_wrapper_example.routing.yml
modules/stream_wrapper_example/stream_wrapper_example.routing.yml

File

modules/stream_wrapper_example/src/Controller/StreamWrapperExampleController.php, line 15

Class

StreamWrapperExampleController
Controller class for the Stream Wrapper Example.

Namespace

Drupal\stream_wrapper_example\Controller

Code

public function description() {
    $build = [
        'description' => [
            '#theme' => 'example_description',
        ],
    ];
    return $build;
}