public function FieldFormCommand::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/quickedit/src/Ajax/FieldFormCommand.php \Drupal\quickedit\Ajax\FieldFormCommand::__construct()
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\AjaxCode
public function __construct($data) {
parent::__construct('quickeditFieldForm', $data);
}