StreamWrapperExampleController.php

Same filename in other branches
  1. 4.0.x modules/stream_wrapper_example/src/Controller/StreamWrapperExampleController.php

Namespace

Drupal\stream_wrapper_example\Controller

File

modules/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

Title Deprecated Summary
StreamWrapperExampleController Controller class for the Stream Wrapper Example.