class UserLanguageTestController
Same name in other branches
- 10 core/modules/user/tests/modules/user_language_test/src/Controller/UserLanguageTestController.php \Drupal\user_language_test\Controller\UserLanguageTestController
Returns responses for User Language Test routes.
Hierarchy
- class \Drupal\user_language_test\Controller\UserLanguageTestController
Expanded class hierarchy of UserLanguageTestController
File
-
core/
modules/ user/ tests/ modules/ user_language_test/ src/ Controller/ UserLanguageTestController.php, line 10
Namespace
Drupal\user_language_test\ControllerView source
class UserLanguageTestController {
/**
* Builds the response.
*/
public function buildPostResponse() {
return [
'#markup' => 'It works!',
];
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
UserLanguageTestController::buildPostResponse | public | function | Builds the response. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.