class TestController
Just a test controller for test routes.
Hierarchy
- class \Drupal\csrf_test\Controller\TestController
Expanded class hierarchy of TestController
File
- 
              core/modules/ system/ tests/ modules/ csrf_test/ src/ Controller/ TestController.php, line 10 
Namespace
Drupal\csrf_test\ControllerView source
class TestController {
  
  /**
   * Just a test method for the test routes.
   *
   * @return \Symfony\Component\HttpFoundation\Response
   *   The response object.
   */
  public function testMethod() {
    return new Response('Sometimes it is hard to think of test content!');
  }
}Members
| Title Sort descending | Modifiers | Object type | Summary | 
|---|---|---|---|
| TestController::testMethod | public | function | Just a test method for the test routes. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
