You are here

StreamWrapperExampleController.php in Examples for Developers 8

File

stream_wrapper_example/src/Controller/StreamWrapperExampleController.php
View source
<?php

namespace Drupal\stream_wrapper_example\Controller;

use Drupal\Core\Controller\ControllerBase;

/**
 * Controller class for the Stream Wrapper Example.
 */
class StreamWrapperExampleController extends ControllerBase {

  /**
   * Description page for the example.
   */
  public function description() {
    $build = [
      'description' => [
        '#theme' => 'example_description',
      ],
    ];
    return $build;
  }

}

Classes

Namesort descending Description
StreamWrapperExampleController Controller class for the Stream Wrapper Example.