public function TwigTweakTestController::build 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::build()
Builds the response.
1 string reference to 'TwigTweakTestController::build'
- twig_tweak_test.routing.yml in tests/
twig_tweak_test/ twig_tweak_test.routing.yml - tests/twig_tweak_test/twig_tweak_test.routing.yml
File
- tests/
twig_tweak_test/ src/ Controller/ TwigTweakTestController.php, line 13
Class
- TwigTweakTestController
- Returns responses for Twig Tweak Test routes.
Namespace
Drupal\twig_tweak_test\ControllerCode
public function build() : array {
return [
'#theme' => 'twig_tweak_test',
];
}