class PathEncodedTestController
Same name in other branches
- 9 core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php \Drupal\path_encoded_test\Controller\PathEncodedTestController
- 8.9.x core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php \Drupal\path_encoded_test\Controller\PathEncodedTestController
- 10 core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php \Drupal\path_encoded_test\Controller\PathEncodedTestController
Returns responses for path_encoded_test routes.
Hierarchy
- class \Drupal\path_encoded_test\Controller\PathEncodedTestController
Expanded class hierarchy of PathEncodedTestController
File
-
core/
modules/ system/ tests/ modules/ path_encoded_test/ src/ Controller/ PathEncodedTestController.php, line 12
Namespace
Drupal\path_encoded_test\ControllerView source
class PathEncodedTestController {
/**
* Returns an HTML simple response.
*
* @return \Symfony\Component\HttpFoundation\Response
*/
public function simple() {
return new Response('<html><body>PathEncodedTestController works</body></html>');
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
PathEncodedTestController::simple | public | function | Returns an HTML simple response. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.