public function FieldFormCommand::__construct

Constructs a FieldFormCommand object.

Parameters

string $data: The data to pass on to the client side.

Overrides BaseCommand::__construct

File

drupal/core/modules/edit/lib/Drupal/edit/Ajax/FieldFormCommand.php, line 23
Contains \Drupal\edit\Ajax\FieldFormCommand.

Class

FieldFormCommand
AJAX command for passing a rendered field form to Edit's JavaScript app.

Namespace

Drupal\edit\Ajax

Code

public function __construct($data) {
  parent::__construct('editFieldForm', $data);
}