function JsAjaxTestCommand::render

Same name in other branches
  1. 9 core/modules/system/tests/modules/js_ajax_test/src/Ajax/JsAjaxTestCommand.php \Drupal\js_ajax_test\Ajax\JsAjaxTestCommand::render()

Overrides CommandInterface::render

File

core/modules/system/tests/modules/js_ajax_test/src/Ajax/JsAjaxTestCommand.php, line 15

Class

JsAjaxTestCommand
Test Ajax command.

Namespace

Drupal\js_ajax_test\Ajax

Code

public function render() {
    return [
        'command' => 'jsAjaxTestCommand',
        'selector' => '#js_ajax_test_form_wrapper',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.