Same name in other branches
  1. 8.9.x Drupal\Core\Ajax
  2. 9 Drupal\Core\Ajax
Classsort descending Location Description
AddCssCommand core/lib/Drupal/Core/Ajax/AddCssCommand.php An AJAX command for adding css to the page via ajax.
AddJsCommand core/lib/Drupal/Core/Ajax/AddJsCommand.php An AJAX command for adding JS to the page via AJAX.
AfterCommand core/lib/Drupal/Core/Ajax/AfterCommand.php An AJAX command for calling the jQuery after() method.
AjaxFormHelperTrait core/lib/Drupal/Core/Ajax/AjaxFormHelperTrait.php Provides a helper to for submitting an AJAX form.
AjaxHelperTrait core/lib/Drupal/Core/Ajax/AjaxHelperTrait.php Provides a helper to determine if the current request is via AJAX.
AjaxResponse core/lib/Drupal/Core/Ajax/AjaxResponse.php JSON response object for AJAX requests.
AlertCommand core/lib/Drupal/Core/Ajax/AlertCommand.php AJAX command for a javascript alert box.
AnnounceCommand core/lib/Drupal/Core/Ajax/AnnounceCommand.php AJAX command for a JavaScript Drupal.announce() call.
AppendCommand core/lib/Drupal/Core/Ajax/AppendCommand.php An AJAX command for calling the jQuery append() method.
BaseCommand core/lib/Drupal/Core/Ajax/BaseCommand.php Base command that only exists to simplify AJAX commands.
BeforeCommand core/lib/Drupal/Core/Ajax/BeforeCommand.php An AJAX command for calling the jQuery before() method.
ChangedCommand core/lib/Drupal/Core/Ajax/ChangedCommand.php An AJAX command for marking HTML elements as changed.
CloseDialogCommand core/lib/Drupal/Core/Ajax/CloseDialogCommand.php Defines an AJAX command that closes the current active dialog.
CloseModalDialogCommand core/lib/Drupal/Core/Ajax/CloseModalDialogCommand.php Defines an AJAX command that closes the currently visible modal dialog.
CommandInterface core/lib/Drupal/Core/Ajax/CommandInterface.php AJAX command interface.
CommandWithAttachedAssetsInterface core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsInterface.php Interface for Ajax commands that render content and attach assets.
CommandWithAttachedAssetsTrait core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php Trait for Ajax commands that render content and attach assets.
CssCommand core/lib/Drupal/Core/Ajax/CssCommand.php An AJAX command for calling the jQuery css() method.
DataCommand core/lib/Drupal/Core/Ajax/DataCommand.php An AJAX command for implementing jQuery's data() method.
FocusFirstCommand core/lib/Drupal/Core/Ajax/FocusFirstCommand.php AJAX command for focusing an element.
HtmlCommand core/lib/Drupal/Core/Ajax/HtmlCommand.php AJAX command for calling the jQuery html() method.
InsertCommand core/lib/Drupal/Core/Ajax/InsertCommand.php Generic AJAX command for inserting content.
InvokeCommand core/lib/Drupal/Core/Ajax/InvokeCommand.php AJAX command for invoking an arbitrary jQuery method.
MessageCommand core/lib/Drupal/Core/Ajax/MessageCommand.php AJAX command for a JavaScript Drupal.message() call.
PrependCommand core/lib/Drupal/Core/Ajax/PrependCommand.php AJAX command for calling the jQuery insert() method.
RedirectCommand core/lib/Drupal/Core/Ajax/RedirectCommand.php Defines an AJAX command to set the window.location, loading that URL.
RemoveCommand core/lib/Drupal/Core/Ajax/RemoveCommand.php AJAX command for calling the jQuery remove() method.
ReplaceCommand core/lib/Drupal/Core/Ajax/ReplaceCommand.php AJAX command for calling the jQuery replace() method.
RestripeCommand core/lib/Drupal/Core/Ajax/RestripeCommand.php AJAX command for resetting the striping on a table.
ScrollTopCommand core/lib/Drupal/Core/Ajax/ScrollTopCommand.php Provides an AJAX command for scrolling to the top of an element.
SetDialogOptionCommand core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php Defines an AJAX command that sets jQuery UI dialog properties.
SetDialogTitleCommand core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php Defines an AJAX command that sets jQuery UI dialog properties.
SettingsCommand core/lib/Drupal/Core/Ajax/SettingsCommand.php AJAX command for adjusting Drupal's JavaScript settings.
UpdateBuildIdCommand core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php Ajax command for updating the form build ID.