public function TestController::content in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Controller/TestController.php \Drupal\Tests\Core\Controller\TestController::content()
Returns test content for unit tests.
File
- core/
tests/ Drupal/ Tests/ Core/ Controller/ TestController.php, line 20 - Contains \Drupal\Tests\Core\Controller\TestController.
Class
- TestController
- Defines a test controller used by unit tests.
Namespace
Drupal\Tests\Core\ControllerCode
public function content() {
return new Response('');
}