GetUntransformedTextCommand.php

Contains \Drupal\editor\Ajax\GetUntransformedTextCommand.

Namespace

Drupal\editor\Ajax

File

drupal/core/modules/editor/lib/Drupal/editor/Ajax/GetUntransformedTextCommand.php
View source
<?php

/**
 * @file
 * Contains \Drupal\editor\Ajax\GetUntransformedTextCommand.
 */
namespace Drupal\editor\Ajax;

use Drupal\Core\Ajax\CommandInterface;
use Drupal\edit\Ajax\BaseCommand;

/**
 * AJAX command to rerender a processed 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 processed text field without any transformation filters.