comparison core/modules/views/src/Ajax/TriggerPreviewCommand.php @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c75dbcec494b
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 }