You are here

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

Security page.

1 string reference to 'TestsController::testSecurity'
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 36

Class

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

Namespace

Drupal\bamboo_twig_test\Controller

Code

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