function GetUntransformedTextCommand::__construct
Same name in this branch
- 9 core/modules/quickedit/src/Ajax/GetUntransformedTextCommand.php \Drupal\quickedit\Ajax\GetUntransformedTextCommand::__construct()
Same name in other branches
- 8.9.x 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 25
Class
- GetUntransformedTextCommand
- Rerenders a formatted text field without any transformation filters.
Namespace
Drupal\editor\AjaxCode
public function __construct($data) {
parent::__construct('editorGetUntransformedText', $data);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.