PathEncodedTestController.php
Same filename in other branches
- 9 core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php
- 8.9.x core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php
- 11.x core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php
Namespace
Drupal\path_encoded_test\ControllerFile
-
core/
modules/ system/ tests/ modules/ path_encoded_test/ src/ Controller/ PathEncodedTestController.php
View source
<?php
namespace Drupal\path_encoded_test\Controller;
use Symfony\Component\HttpFoundation\Response;
/**
* Returns responses for path_encoded_test routes.
*/
class PathEncodedTestController {
/**
* Returns an HTML simple response.
*
* @return \Symfony\Component\HttpFoundation\Response
*/
public function simple() {
return new Response('<html><body>PathEncodedTestController works</body></html>');
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
PathEncodedTestController | Returns responses for path_encoded_test routes. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.