BaseCommand

Base command that only exists to simplify AJAX commands.

Hierarchy

File

core/lib/Drupal/Core/Ajax/BaseCommand.php, line 8

Namespace

Drupal\Core\Ajax

Members

Name Modifiers Type Description
BaseCommand::$command protected property The name of the command.
BaseCommand::$data protected property The data to pass on to the client side.
BaseCommand::render public function Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render
BaseCommand::__construct public function Constructs a BaseCommand object.
doc_Drupal
2016-10-29 08:45:32
Comments
Leave a Comment

Please login to continue.