public function DataCommand::render
public DataCommand::render()
Implements Drupal\Core\Ajax\CommandInterface:render().
Overrides CommandInterface::render
File
- core/lib/Drupal/Core/Ajax/DataCommand.php, line 63
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, ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Ajax!DataCommand.php/function/DataCommand::render/8.1.x