You are here

public function TestsController::testFile in Bamboo Twig 8.5

Same name and namespace in other branches
  1. 8.2 tests/modules/bamboo_twig_test/src/Controller/TestsController.php \Drupal\bamboo_twig_test\Controller\TestsController::testFile()
  2. 8.3 tests/modules/bamboo_twig_test/src/Controller/TestsController.php \Drupal\bamboo_twig_test\Controller\TestsController::testFile()
  3. 8.4 tests/modules/bamboo_twig_test/src/Controller/TestsController.php \Drupal\bamboo_twig_test\Controller\TestsController::testFile()

File page.

1 string reference to 'TestsController::testFile'
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 50

Class

TestsController
Returns renderer-responses for testing Twig functions/filters on templates.

Namespace

Drupal\bamboo_twig_test\Controller

Code

public function testFile() {
  return [
    '#theme' => 'bamboo_twig_test_file',
  ];
}