UserLanguageTestController.php
Same filename in other branches
Namespace
Drupal\user_language_test\ControllerFile
-
core/
modules/ user/ tests/ modules/ user_language_test/ src/ Controller/ UserLanguageTestController.php
View source
<?php
declare (strict_types=1);
namespace Drupal\user_language_test\Controller;
/**
* Returns responses for User Language Test routes.
*/
class UserLanguageTestController {
/**
* Builds the response.
*/
public function buildPostResponse() {
return [
'#markup' => 'It works!',
];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
UserLanguageTestController | Returns responses for User Language Test routes. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.