public function TestsController::testLoader in Bamboo Twig 8.4
Same name and namespace in other branches
- 8.5 tests/modules/bamboo_twig_test/src/Controller/TestsController.php \Drupal\bamboo_twig_test\Controller\TestsController::testLoader()
- 8.2 tests/modules/bamboo_twig_test/src/Controller/TestsController.php \Drupal\bamboo_twig_test\Controller\TestsController::testLoader()
- 8.3 tests/modules/bamboo_twig_test/src/Controller/TestsController.php \Drupal\bamboo_twig_test\Controller\TestsController::testLoader()
Loader page.
1 string reference to 'TestsController::testLoader'
- bamboo_twig_test.routing.yml in tests/
modules/ bamboo_twig_test/ bamboo_twig_test.routing.yml - tests/modules/bamboo_twig_test/bamboo_twig_test.routing.yml
File
- tests/
modules/ bamboo_twig_test/ src/ Controller/ TestsController.php, line 18
Class
- TestsController
- TestsController.
Namespace
Drupal\bamboo_twig_test\ControllerCode
public function testLoader() {
return [
'#variables' => [
'image_path' => drupal_get_path('module', 'bamboo_twig_test') . '/files/antistatique.jpg',
],
'#theme' => 'bamboo_twig_test_loader',
];
}