Drupal 8 8.0.2
AJAX command interface.
All AJAX commands passed to AjaxResponse objects should implement these methods.
AJAX command for calling the jQuery remove() method.
The 'remove' command instructs the client to use jQuery's remove() method to remove each of elements matched by the given selector, and everything within them.
This command is implemented by Drupal.AjaxCommands.prototype.remove() defined in misc/ajax.js.
Constructs a RemoveCommand object.
Return an array to be run through json_encode and sent to the client.
Referenced by AjaxResponse\addCommand().