You are here

GetUntransformedTextCommand.php in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/editor/src/Ajax/GetUntransformedTextCommand.php

Namespace

Drupal\editor\Ajax

File

core/modules/editor/src/Ajax/GetUntransformedTextCommand.php
View source
<?php

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);
  }

}

Classes

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