function DynamicPageCacheTestController::response
Same name in other branches
- 8.9.x core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/src/DynamicPageCacheTestController.php \Drupal\dynamic_page_cache_test\DynamicPageCacheTestController::response()
- 10 core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/src/DynamicPageCacheTestController.php \Drupal\dynamic_page_cache_test\DynamicPageCacheTestController::response()
- 11.x core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/src/DynamicPageCacheTestController.php \Drupal\dynamic_page_cache_test\DynamicPageCacheTestController::response()
A route returning a Response object.
Return value
\Symfony\Component\HttpFoundation\Response A Response object.
1 string reference to 'DynamicPageCacheTestController::response'
- dynamic_page_cache_test.routing.yml in core/
modules/ dynamic_page_cache/ tests/ dynamic_page_cache_test/ dynamic_page_cache_test.routing.yml - core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/dynamic_page_cache_test.routing.yml
File
-
core/
modules/ dynamic_page_cache/ tests/ dynamic_page_cache_test/ src/ DynamicPageCacheTestController.php, line 24
Class
- DynamicPageCacheTestController
- Controller routines for dynamic_page_cache_test routes.
Namespace
Drupal\dynamic_page_cache_testCode
public function response() {
return new Response('foobar');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.