FieldFormCommand.php

Same filename in other branches
  1. 9 core/modules/quickedit/src/Ajax/FieldFormCommand.php

Namespace

Drupal\quickedit\Ajax

File

core/modules/quickedit/src/Ajax/FieldFormCommand.php

View source
<?php

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

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

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