You are here

class FieldFormCommand in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/quickedit/src/Ajax/FieldFormCommand.php \Drupal\quickedit\Ajax\FieldFormCommand
  2. 9 core/modules/quickedit/src/Ajax/FieldFormCommand.php \Drupal\quickedit\Ajax\FieldFormCommand

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

Hierarchy

  • class \Drupal\quickedit\Ajax\FieldFormCommand extends \Drupal\Core\Ajax\BaseCommand

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 11

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);
  }

}

Members