public function DataCommand::render in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Ajax/DataCommand.php \Drupal\Core\Ajax\DataCommand::render()
Implements Drupal\Core\Ajax\CommandInterface:render().
Overrides CommandInterface::render
File
- core/
lib/ Drupal/ Core/ Ajax/ DataCommand.php, line 68 - Contains \Drupal\Core\Ajax\DataCommand.
Class
- DataCommand
- An AJAX command for implementing jQuery's data() method.
Namespace
Drupal\Core\AjaxCode
public function render() {
return array(
'command' => 'data',
'selector' => $this->selector,
'name' => $this->name,
'value' => $this->value,
);
}