Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 2 |
| GetUntransformedTextCommand | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
| __construct | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
| <?php | |
| /** | |
| * @file | |
| * Contains \Drupal\editor\Ajax\GetUntransformedTextCommand. | |
| */ | |
| namespace Drupal\editor\Ajax; | |
| use Drupal\Core\Ajax\BaseCommand; | |
| /** | |
| * AJAX command to rerender a formatted text field without any transformation | |
| * filters. | |
| */ | |
| 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); | |
| } | |
| } |