class FieldFormCommand

Same name and namespace in other branches
  1. 8.9.x core/modules/quickedit/src/Ajax/FieldFormCommand.php \Drupal\quickedit\Ajax\FieldFormCommand

Passes a rendered field form to Quick Edit's JavaScript app.

Hierarchy

Expanded class hierarchy of FieldFormCommand

1 file declares its use of FieldFormCommand
QuickEditController.php in core/modules/quickedit/src/QuickEditController.php

File

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

Namespace

Drupal\quickedit\Ajax
View source
class FieldFormCommand extends BaseCommand {
  
  /**
   * Constructs a FieldFormCommand object.
   *
   * @param string $data
   *   The data to pass on to the client side.
   */
  public function __construct($data) {
    parent::__construct('quickeditFieldForm', $data);
  }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.