Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / views / src / Ajax / TriggerPreviewCommand.php
1 <?php
2
3 namespace Drupal\views\Ajax;
4
5 use Drupal\Core\Ajax\CommandInterface;
6
7 /**
8  * Provides an AJAX command for triggering the views live preview.
9  *
10  * This command is implemented in Drupal.AjaxCommands.prototype.viewsTriggerPreview.
11  */
12 class TriggerPreviewCommand implements CommandInterface {
13
14   /**
15    * {@inheritdoc}
16    */
17   public function render() {
18     return [
19       'command' => 'viewsTriggerPreview',
20     ];
21   }
22
23 }