function PathEncodedTestController::simple
Same name in other branches
- 9 core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php \Drupal\path_encoded_test\Controller\PathEncodedTestController::simple()
- 10 core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php \Drupal\path_encoded_test\Controller\PathEncodedTestController::simple()
- 11.x core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php \Drupal\path_encoded_test\Controller\PathEncodedTestController::simple()
Returns a HTML simple response.
Return value
\Symfony\Component\HttpFoundation\Response
1 string reference to 'PathEncodedTestController::simple'
- path_encoded_test.routing.yml in core/
modules/ system/ tests/ modules/ path_encoded_test/ path_encoded_test.routing.yml - core/modules/system/tests/modules/path_encoded_test/path_encoded_test.routing.yml
File
-
core/
modules/ system/ tests/ modules/ path_encoded_test/ src/ Controller/ PathEncodedTestController.php, line 17
Class
- PathEncodedTestController
- Returns responses for path_encoded_test routes.
Namespace
Drupal\path_encoded_test\ControllerCode
public function simple() {
return new Response('<html><body>PathEncodedTestController works</body></html>');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.