PathEncodedTestController.php
Same filename in other branches
Namespace
Drupal\path_encoded_test\ControllerFile
-
core/
modules/ system/ tests/ modules/ path_encoded_test/ src/ Controller/ PathEncodedTestController.php
View source
<?php
declare (strict_types=1);
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.