Provides an AJAX command for showing the save and cancel buttons.
This command is implemented in Drupal.AjaxCommands.prototype.viewsShowButtons.
Hierarchy
- class \Drupal\views\Ajax\ShowButtonsCommand implements CommandInterface
File
- core/modules/views/src/Ajax/ShowButtonsCommand.php, line 12
Namespace
Drupal\views\Ajax
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ShowButtonsCommand::$changed | protected | property | Whether the view has been changed. |
ShowButtonsCommand::render | public | function | Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render |
ShowButtonsCommand::__construct | public | function | Constructs a \Drupal\views\Ajax\ShowButtonsCommand object. |
Please login to continue.