class GetUntransformedTextCommand in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/editor/src/Ajax/GetUntransformedTextCommand.php \Drupal\editor\Ajax\GetUntransformedTextCommand
AJAX command to rerender a formatted text field without any transformation filters.
Hierarchy
- class \Drupal\Core\Ajax\BaseCommand implements CommandInterface
- class \Drupal\editor\Ajax\GetUntransformedTextCommand
Expanded class hierarchy of GetUntransformedTextCommand
1 file declares its use of GetUntransformedTextCommand
- EditorController.php in core/
modules/ editor/ src/ EditorController.php - Contains \Drupal\editor\EditorController.
File
- core/
modules/ editor/ src/ Ajax/ GetUntransformedTextCommand.php, line 16 - Contains \Drupal\editor\Ajax\GetUntransformedTextCommand.
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseCommand:: |
protected | property | The name of the command. | |
BaseCommand:: |
protected | property | The data to pass on to the client side. | |
BaseCommand:: |
public | function |
Return an array to be run through json_encode and sent to the client. Overrides CommandInterface:: |
1 |
GetUntransformedTextCommand:: |
public | function |
Constructs a GetUntransformedTextCommand object. Overrides BaseCommand:: |