Provides an AJAX command for triggering the views live preview.
This command is implemented in Drupal.AjaxCommands.prototype.viewsTriggerPreview.
Hierarchy
- class \Drupal\views\Ajax\TriggerPreviewCommand implements CommandInterface
File
- core/modules/views/src/Ajax/TriggerPreviewCommand.php, line 12
Namespace
Drupal\views\Ajax
Members
Name | Modifiers | Type | Description |
---|---|---|---|
TriggerPreviewCommand::render | public | function | Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render |
Please login to continue.