StreamWrapperExampleController.php in Examples for Developers 8
Namespace
Drupal\stream_wrapper_example\ControllerFile
stream_wrapper_example/src/Controller/StreamWrapperExampleController.phpView 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
Name | Description |
---|---|
StreamWrapperExampleController | Controller class for the Stream Wrapper Example. |