class GetUntransformedTextCommand
Same name in this branch
- 9 core/modules/quickedit/src/Ajax/GetUntransformedTextCommand.php \Drupal\quickedit\Ajax\GetUntransformedTextCommand
Same name in other branches
- 8.9.x core/modules/editor/src/Ajax/GetUntransformedTextCommand.php \Drupal\editor\Ajax\GetUntransformedTextCommand
Rerenders a formatted text field without any transformation filters.
Hierarchy
- class \Drupal\Core\Ajax\BaseCommand implements \Drupal\Core\Ajax\CommandInterface
- class \Drupal\editor\Ajax\GetUntransformedTextCommand extends \Drupal\Core\Ajax\BaseCommand
Expanded class hierarchy of GetUntransformedTextCommand
Deprecated
in drupal:9.5.0 and is removed from drupal:10.0.0. There is no replacement.
See also
http://www.drupal.org/node/3271653
1 file declares its use of GetUntransformedTextCommand
- EditorGetUntransformedTextCommandTest.php in core/
modules/ editor/ tests/ src/ Kernel/ EditorGetUntransformedTextCommandTest.php
File
-
core/
modules/ editor/ src/ Ajax/ GetUntransformedTextCommand.php, line 17
Namespace
Drupal\editor\AjaxView source
class GetUntransformedTextCommand extends BaseCommand {
/**
* Constructs a GetUntransformedTextCommand object.
*
* @param string $data
* The data to pass on to the client side.
*/
public function __construct($data) {
parent::__construct('editorGetUntransformedText', $data);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
BaseCommand::$command | protected | property | The name of the command. | ||
BaseCommand::$data | protected | property | The data to pass on to the client side. | ||
BaseCommand::render | public | function | Return an array to be run through json_encode and sent to the client. | Overrides CommandInterface::render | 1 |
GetUntransformedTextCommand::__construct | public | function | Constructs a GetUntransformedTextCommand object. | Overrides BaseCommand::__construct |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.