function EditorDialogSave::__construct

Same name in other branches
  1. 9 core/modules/editor/src/Ajax/EditorDialogSave.php \Drupal\editor\Ajax\EditorDialogSave::__construct()
  2. 10 core/modules/editor/src/Ajax/EditorDialogSave.php \Drupal\editor\Ajax\EditorDialogSave::__construct()
  3. 11.x core/modules/editor/src/Ajax/EditorDialogSave.php \Drupal\editor\Ajax\EditorDialogSave::__construct()

Constructs a EditorDialogSave object.

Parameters

string $values: The values that should be passed to the form constructor in Drupal.

File

core/modules/editor/src/Ajax/EditorDialogSave.php, line 28

Class

EditorDialogSave
Provides an AJAX command for saving the contents of an editor dialog.

Namespace

Drupal\editor\Ajax

Code

public function __construct($values) {
    $this->values = $values;
}

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