function AjaxTestController::constructor
Same name and namespace in other branches
- main core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php \Drupal\ajax_test\Controller\AjaxTestController::constructor()
Provides a valid AJAX response for the "constructor" URL.
Return value
\Symfony\Component\HttpFoundation\Response The Ajax link.
1 string reference to 'AjaxTestController::constructor'
- ajax_test.routing.yml in core/
modules/ system/ tests/ modules/ ajax_test/ ajax_test.routing.yml - core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml
File
-
core/
modules/ system/ tests/ modules/ ajax_test/ src/ Controller/ AjaxTestController.php, line 537
Class
- AjaxTestController
- Provides content for dialog tests.
Namespace
Drupal\ajax_test\ControllerCode
public function constructor() : Response {
return new JsonResponse();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.