Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ChangedCommand.php

function ChangedCommand::render

Implements Drupal\Core\Ajax\CommandInterface:render().

Overrides CommandInterface::render

File

core/lib/Drupal/Core/Ajax/ChangedCommand.php, line 51

Class

ChangedCommand
An AJAX command for marking HTML elements as changed.

Namespace

Drupal\Core\Ajax

Code

public function render() {
    return [
        'command' => 'changed',
        'selector' => $this->selector,
        'asterisk' => $this->asterisk,
    ];
}
RSS feed
Powered by Drupal