class FieldFormCommand
Same name in other branches
- 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\Core\Ajax\BaseCommand implements \Drupal\Core\Ajax\CommandInterface
- 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\AjaxView 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
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
BaseCommand::$command | protected | property | The name of the command. | ||
BaseCommand::$data | protected | property | The data to pass on to the client side. | ||
BaseCommand::render | public | function | Return an array to be run through json_encode and sent to the client. | Overrides CommandInterface::render | 1 |
FieldFormCommand::__construct | public | function | Constructs a FieldFormCommand object. | Overrides BaseCommand::__construct |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.