You are here

FieldFormCommand.php in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/modules/quickedit/src/Ajax/FieldFormCommand.php

File

core/modules/quickedit/src/Ajax/FieldFormCommand.php
View source
<?php

/**
 * @file
 * Contains \Drupal\quickedit\Ajax\FieldFormCommand.
 */
namespace Drupal\quickedit\Ajax;

use Drupal\Core\Ajax\BaseCommand;

/**
 * AJAX command for passing a rendered field form to Quick Edit's JavaScript
 * app.
 */
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);
  }

}

Classes

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