FieldFormCommand::__construct

public FieldFormCommand::__construct($data)

Constructs a FieldFormCommand object.

Parameters

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

Overrides BaseCommand::__construct

File

core/modules/quickedit/src/Ajax/FieldFormCommand.php, line 19

Class

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

Namespace

Drupal\quickedit\Ajax

Code

public function __construct($data) {
  parent::__construct('quickeditFieldForm', $data);
}
doc_Drupal
2016-10-29 09:11:30
Comments
Leave a Comment

Please login to continue.