function FieldFormSavedCommand::render

Same name in other branches
  1. 8.9.x core/modules/quickedit/src/Ajax/FieldFormSavedCommand.php \Drupal\quickedit\Ajax\FieldFormSavedCommand::render()

Overrides BaseCommand::render

File

core/modules/quickedit/src/Ajax/FieldFormSavedCommand.php, line 37

Class

FieldFormSavedCommand
Indicates a field was saved and passes the rerendered field to Quick Edit.

Namespace

Drupal\quickedit\Ajax

Code

public function render() {
    return [
        'command' => $this->command,
        'data' => $this->data,
        'other_view_modes' => $this->other_view_modes,
    ];
}

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