You are here

public function TestsController::testToken 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::testToken()
  2. 8.3 tests/modules/bamboo_twig_test/src/Controller/TestsController.php \Drupal\bamboo_twig_test\Controller\TestsController::testToken()
  3. 8.4 tests/modules/bamboo_twig_test/src/Controller/TestsController.php \Drupal\bamboo_twig_test\Controller\TestsController::testToken()

Token page.

1 string reference to 'TestsController::testToken'
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 94

Class

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

Namespace

Drupal\bamboo_twig_test\Controller

Code

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