function ChangedCommand::render
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/ChangedCommand.php \Drupal\Core\Ajax\ChangedCommand::render()
- 8.9.x core/lib/Drupal/Core/Ajax/ChangedCommand.php \Drupal\Core\Ajax\ChangedCommand::render()
- 11.x core/lib/Drupal/Core/Ajax/ChangedCommand.php \Drupal\Core\Ajax\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\AjaxCode
public function render() {
return [
'command' => 'changed',
'selector' => $this->selector,
'asterisk' => $this->asterisk,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.