function AjaxTestController::httpMethodsDialog
Provides a modal dialog to test links with different HTTP methods.
Return value
array The render array.
2 string references to 'AjaxTestController::httpMethodsDialog'
- 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
- 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 456 
Class
- AjaxTestController
- Provides content for dialog tests.
Namespace
Drupal\ajax_test\ControllerCode
public function httpMethodsDialog() : array {
  return [
    '#markup' => 'Modal dialog contents',
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
