class GetUntransformedTextCommand

AJAX command to rerender a processed text field without any transformation filters.

Hierarchy

Expanded class hierarchy of GetUntransformedTextCommand

1 file declares its use of GetUntransformedTextCommand
EditorController.php in drupal/core/modules/editor/lib/Drupal/editor/EditorController.php
Contains \Drupal\editor\EditorController.

File

drupal/core/modules/editor/lib/Drupal/editor/Ajax/GetUntransformedTextCommand.php, line 17
Contains \Drupal\editor\Ajax\GetUntransformedTextCommand.

Namespace

Drupal\editor\Ajax
View 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

Namesort descending Modifiers Type Description 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 Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render
GetUntransformedTextCommand::__construct public function Constructs a GetUntransformedTextCommand object. Overrides BaseCommand::__construct