You are here

public function StreamWrapperExampleController::description in Examples for Developers 8

Same name and namespace in other branches
  1. 3.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 stream_wrapper_example/stream_wrapper_example.routing.yml
stream_wrapper_example/stream_wrapper_example.routing.yml

File

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;
}