JsAjaxTestCommand.php
Same filename in other branches
Namespace
Drupal\js_ajax_test\AjaxFile
-
core/
modules/ system/ tests/ modules/ js_ajax_test/ src/ Ajax/ JsAjaxTestCommand.php
View source
<?php
namespace Drupal\js_ajax_test\Ajax;
use Drupal\Core\Ajax\CommandInterface;
/**
* Test Ajax command.
*/
class JsAjaxTestCommand implements CommandInterface {
/**
* {@inheritdoc}
*/
public function render() {
return [
'command' => 'jsAjaxTestCommand',
'selector' => '#js_ajax_test_form_wrapper',
];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
JsAjaxTestCommand | Test Ajax command. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.