You are here

public function GetUntransformedTextCommand::__construct in Zircon Profile 8.0

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

Constructs a GetUntransformedTextCommand object.

Parameters

string $data: The data to pass on to the client side.

Overrides BaseCommand::__construct

File

core/modules/editor/src/Ajax/GetUntransformedTextCommand.php, line 24
Contains \Drupal\editor\Ajax\GetUntransformedTextCommand.

Class

GetUntransformedTextCommand
AJAX command to rerender a formatted text field without any transformation filters.

Namespace

Drupal\editor\Ajax

Code

public function __construct($data) {
  parent::__construct('editorGetUntransformedText', $data);
}