Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
AjaxResponseSubscriber::onRequest function core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php Sets the AJAX parameter from the current request.
AjaxResponseSubscriber::onResponse function core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php Renders the ajax commands right before preparing the result.
AjaxResponseSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php Constructs an AjaxResponseSubscriber object.
AjaxResponseTest class core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php @coversDefaultClass \Drupal\Core\Ajax\AjaxResponse
@group Ajax
AjaxResponseTest.php file core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php
AjaxResponseTest::$ajaxResponse property core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php The tested ajax response object.
AjaxResponseTest::setUp function core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php
AjaxResponseTest::testCommands function core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php Tests the add and getCommands method.
AjaxResponseTest::testPrepareResponseForIeFormRequestsWithFileUpload function core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php Tests the support for IE specific headers in file uploads.
AjaxTest class core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php Tests AJAX responses.
AjaxTest.php file core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php
AjaxTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php The theme to install as the default for testing.
AjaxTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php Modules to enable.
AjaxTest::assertInsert function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php Assert insert.
AjaxTest::assertWaitPageContains function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php Asserts that page contains an expected value after waiting.
AjaxTest::testAjaxWithAdminRoute function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php
AjaxTest::testDrupalSettingsCachingRegression function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php Test that AJAX loaded libraries are not retained between requests.
AjaxTest::testInsertAjaxResponse function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php Tests that various AJAX responses with DOM elements are correctly inserted.
AjaxTestBase class core/modules/system/src/Tests/Ajax/AjaxTestBase.php Provides a base class for Ajax tests.
AjaxTestBase.php file core/modules/system/src/Tests/Ajax/AjaxTestBase.php
AjaxTestBase::$modules property core/modules/system/src/Tests/Ajax/AjaxTestBase.php Modules to enable.
AjaxTestBase::assertCommand function core/modules/system/src/Tests/Ajax/AjaxTestBase.php Asserts the array of Ajax commands contains the searched command.
AjaxTestController class core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Provides content for dialog tests.
AjaxTestController.php file core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
AjaxTestController::dialog function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Returns a render array of form elements and links for dialog.
AjaxTestController::dialogClose function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Returns an AjaxResponse with command to close dialog.
AjaxTestController::dialogContents function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Example content for dialog testing.
AjaxTestController::getRenderTypes function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Render types.
AjaxTestController::insertLinksBlockWrapper function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Returns a render array of links that directly Drupal.ajax().
AjaxTestController::insertLinksInlineWrapper function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Returns a render array of links that directly Drupal.ajax().
AjaxTestController::order function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Returns an AjaxResponse; settings command set last.
AjaxTestController::render function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Returns a render array that will be rendered by AjaxRenderer.
AjaxTestController::renderError function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Returns an AjaxResponse with alert command.
AjaxTestController::renderTypes function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Example content for testing the wrapper of the response.
AjaxTestController::theme function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Returns the used theme.
AjaxTestDialogForm class core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php Dummy form for testing DialogRenderer with _form routes.
AjaxTestDialogForm.php file core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php
AjaxTestDialogForm::buildForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php Form constructor.
AjaxTestDialogForm::dialog function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php Util to render dialog in ajax callback.
AjaxTestDialogForm::getFormId function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php Returns a unique string identifying the form.
AjaxTestDialogForm::modal function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php AJAX callback handler for AjaxTestDialogForm.
AjaxTestDialogForm::nonModal function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php AJAX callback handler for AjaxTestDialogForm.
AjaxTestDialogForm::submitForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php Form submission handler.
AjaxTestDialogForm::validateForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php Form validation handler.
AjaxTestForm class core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestForm.php Dummy form for testing DialogRenderer with _form routes.
AjaxTestForm.php file core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestForm.php
AjaxTestForm::buildForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestForm.php Form constructor.
AjaxTestForm::getFormId function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestForm.php Returns a unique string identifying the form.
AjaxTestForm::submitForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestForm.php Form submission handler.
AjaxTestForm::validateForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestForm.php Form validation handler.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.