1<?php 2 3namespace Drupal\js_ajax_test\Ajax; 4 5use Drupal\Core\Ajax\CommandInterface; 6 7/** 8 * Test Ajax command. 9 */ 10class JsAjaxTestCommand implements CommandInterface { 11 12 /** 13 * {@inheritdoc} 14 */ 15 public function render() { 16 return [ 17 'command' => 'jsAjaxTestCommand', 18 'selector' => '#js_ajax_test_form_wrapper', 19 ]; 20 } 21 22} 23