class UserLanguageTestController

Same name in other branches
  1. 11.x 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

Expanded class hierarchy of UserLanguageTestController

File

core/modules/user/tests/modules/user_language_test/src/Controller/UserLanguageTestController.php, line 8

Namespace

Drupal\user_language_test\Controller
View 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.