function stream_wrapper_example_theme
Same name in other branches
- 4.0.x modules/stream_wrapper_example/stream_wrapper_example.module \stream_wrapper_example_theme()
Implements hook_theme().
Since we have a lot to explain, we're going to use Twig to do it.
File
-
modules/
stream_wrapper_example/ stream_wrapper_example.module, line 98
Code
function stream_wrapper_example_theme() {
return [
'example_description' => [
'template' => 'description',
'variables' => [
'admin_link' => NULL,
],
],
];
}