ShowButtonsCommand
class ShowButtonsCommand implements CommandInterface (View source)
Provides an AJAX command for showing the save and cancel buttons.
This command is implemented in Drupal.AjaxCommands.prototype.viewsShowButtons.
Properties
| protected bool | $changed | Whether the view has been changed. |
Methods
__construct(bool $changed)
Constructs a \Drupal\views\Ajax\ShowButtonsCommand object.
render()
Return an array to be run through json_encode and sent to the client.
Details
__construct(bool $changed)
Constructs a \Drupal\views\Ajax\ShowButtonsCommand object.
render()
Return an array to be run through json_encode and sent to the client.