You are here

namespace Drupal\Core\Ajax in Drupal 8

Same name in other branches
  1. 9 Drupal\Core\Ajax
  2. 10 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.
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.
AjaxResponseAttachmentsProcessor core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php Processes attachments of AJAX responses.
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.
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.
OpenDialogCommand core/lib/Drupal/Core/Ajax/OpenDialogCommand.php Defines an AJAX command to open certain content in a dialog.
OpenModalDialogCommand core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php Defines an AJAX command to open certain content in a dialog in a modal dialog.
OpenOffCanvasDialogCommand core/lib/Drupal/Core/Ajax/OpenOffCanvasDialogCommand.php Defines an AJAX command to open content in a dialog in a off-canvas dialog.
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.
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 value of a hidden form_build_id input element on a form. It requires the form passed in to have keys for both the old build ID in #build_id_old and the new build ID in #build_id.