Search for A

  1. Search 7.x for A
  2. Search 9.5.x for A
  3. Search 10.3.x for A
  4. Search 11.x for A
  5. Other projects
Title Object type File name Summary
AjaxFormsTestValidationForm::getFormId function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestValidationForm.php Returns a unique string identifying the form.
AjaxFormsTestValidationForm::submitForm function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestValidationForm.php Form submission handler.
AjaxHelperTrait trait core/lib/Drupal/Core/Ajax/AjaxHelperTrait.php Provides a helper to determine if the current request is via AJAX.
AjaxHelperTrait.php file core/lib/Drupal/Core/Ajax/AjaxHelperTrait.php
AjaxHelperTrait::getRequestWrapperFormat function core/lib/Drupal/Core/Ajax/AjaxHelperTrait.php Gets the wrapper format of the current request.
AjaxHelperTrait::isAjax function core/lib/Drupal/Core/Ajax/AjaxHelperTrait.php Determines if the current request is via AJAX.
AjaxInGroupTest class core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxInGroupTest.php Tests that form elements in groups work correctly with AJAX.
AjaxInGroupTest.php file core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxInGroupTest.php
AjaxInGroupTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxInGroupTest.php The theme to install as the default for testing.
AjaxInGroupTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxInGroupTest.php Modules to enable.
AjaxInGroupTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxInGroupTest.php
AjaxInGroupTest::testSimpleAjaxFormValue function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxInGroupTest.php Submits forms with select and checkbox elements via Ajax.
AjaxPageStateTest class core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Performs tests for the effects of the ajax_page_state query parameter.
AjaxPageStateTest.php file core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php
AjaxPageStateTest::$adminUser property core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php User account with all available permissions
AjaxPageStateTest::$defaultTheme property core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php The theme to install as the default for testing.
AjaxPageStateTest::$modules property core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Modules to install.
AjaxPageStateTest::setUp function core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php
AjaxPageStateTest::testHtml5ShivIsNotLoaded function core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Give ajax_page_state[libraries]=core/html5shiv to exclude the library.
AjaxPageStateTest::testLibrariesAvailable function core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Default functionality without the param ajax_page_state[libraries].
AjaxPageStateTest::testMultipleLibrariesAreNotLoaded function core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php Test if multiple libraries can be excluded.
AjaxRenderer class core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php Default main content renderer for Ajax requests.
AjaxRenderer.php file core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php
AjaxRenderer::$elementInfoManager property core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php The element info manager.
AjaxRenderer::$renderer property core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php The renderer.
AjaxRenderer::drupalRenderRoot function core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php Wraps \Drupal\Core\Render\RendererInterface::renderRoot().
AjaxRenderer::renderResponse function core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php Renders the main content render array into a response.
AjaxRenderer::__construct function core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php Constructs a new AjaxRenderer instance.
AjaxRendererTest class core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php @coversDefaultClass \Drupal\Core\Render\MainContent\AjaxRenderer[[api-linebreak]]
@group Ajax
AjaxRendererTest.php file core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php
AjaxRendererTest::$ajaxRenderer property core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php The tested ajax controller.
AjaxRendererTest::$renderer property core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php The renderer.
AjaxRendererTest::setUp function core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php
AjaxRendererTest::testConstructorRendererArgument function core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php @group legacy
@expectedDeprecation The renderer service must be passed to Drupal\Core\Render\MainContent\AjaxRenderer::__construct and will be required before Drupal 9.0.0. See https://www.drupal.org/node/3009400
AjaxRendererTest::testRenderWithFragmentObject function core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php Tests the content method.
AjaxResponse class core/lib/Drupal/Core/Ajax/AjaxResponse.php JSON response object for AJAX requests.
AjaxResponse.php file core/lib/Drupal/Core/Ajax/AjaxResponse.php
AjaxResponse::$commands property core/lib/Drupal/Core/Ajax/AjaxResponse.php The array of ajax commands.
AjaxResponse::addCommand function core/lib/Drupal/Core/Ajax/AjaxResponse.php Add an AJAX command to the response.
AjaxResponse::getCommands function core/lib/Drupal/Core/Ajax/AjaxResponse.php Gets all AJAX commands.
AjaxResponseAttachmentsProcessor class core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php Processes attachments of AJAX responses.
AjaxResponseAttachmentsProcessor.php file core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php
AjaxResponseAttachmentsProcessor::$assetResolver property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The asset resolver service.
AjaxResponseAttachmentsProcessor::$config property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php A config object for the system performance configuration.
AjaxResponseAttachmentsProcessor::$cssCollectionRenderer property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The CSS asset collection renderer service.
AjaxResponseAttachmentsProcessor::$jsCollectionRenderer property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The JS asset collection renderer service.
AjaxResponseAttachmentsProcessor::$moduleHandler property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The module handler.
AjaxResponseAttachmentsProcessor::$renderer property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The renderer.
AjaxResponseAttachmentsProcessor::$requestStack property core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php The request stack.
AjaxResponseAttachmentsProcessor::buildAttachmentsCommands function core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php Prepares the AJAX commands to attach assets.

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