PathEncodedTestController.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\path_encoded_test\ControllerFile
core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.phpView source
<?php
namespace Drupal\path_encoded_test\Controller;
use Symfony\Component\HttpFoundation\Response;
/**
* Returns responses for path_encoded_test routes.
*/
class PathEncodedTestController {
/**
* Returns a HTML simple response.
*
* @return \Symfony\Component\HttpFoundation\Response
*/
public function simple() {
return new Response('<html><body>PathEncodedTestController works</body></html>');
}
}
Classes
Name | Description |
---|---|
PathEncodedTestController | Returns responses for path_encoded_test routes. |