final class TwigTweakTestController in Twig Tweak 3.x
Same name and namespace in other branches
- 3.1.x tests/twig_tweak_test/src/Controller/TwigTweakTestController.php \Drupal\twig_tweak_test\Controller\TwigTweakTestController
Returns responses for Twig Tweak Test routes.
Hierarchy
- class \Drupal\twig_tweak_test\Controller\TwigTweakTestController
Expanded class hierarchy of TwigTweakTestController
File
- tests/
twig_tweak_test/ src/ Controller/ TwigTweakTestController.php, line 8
Namespace
Drupal\twig_tweak_test\ControllerView source
final class TwigTweakTestController {
/**
* Builds the response.
*/
public function build() : array {
return [
'#theme' => 'twig_tweak_test',
];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TwigTweakTestController:: |
public | function | Builds the response. |