You are here

public function EditorDialogSave::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/editor/src/Ajax/EditorDialogSave.php \Drupal\editor\Ajax\EditorDialogSave::__construct()
  2. 9 core/modules/editor/src/Ajax/EditorDialogSave.php \Drupal\editor\Ajax\EditorDialogSave::__construct()

Constructs an 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;
}