EditorImageDialog::getFormId

public EditorImageDialog::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/editor/src/Form/EditorImageDialog.php, line 50 Class EditorImageDialog Provides an image dialog for text editors. Namespace Drupal\editor\Form Code public function getFormId() { return 'editor_image_dialog'; }

EditorImageDialog::create

public static EditorImageDialog::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The servic

EditorImageDialog::buildForm

public EditorImageDialog::buildForm(array $form, FormStateInterface $form_state, Editor $editor = NULL) Parameters \Drupal\editor\Entity\Editor $editor: The text editor to which this dialog corresponds. Overrides FormInterface::buildForm File core/modules/editor/src/Form/EditorImageDialog.php, line 60 Class EditorImageDialog Provides an image dialog for text editors. Namespace Drupal\editor\Form Code public function buildForm(array $form, FormStateInterface $form_state, Editor $editor

EditorImageDialog::$fileStorage

The file storage service. Type: \Drupal\Core\Entity\EntityStorageInterface File core/modules/editor/src/Form/EditorImageDialog.php, line 26 Class EditorImageDialog Provides an image dialog for text editors. Namespace Drupal\editor\Form Code protected $fileStorage;

EditorImageDialog

Provides an image dialog for text editors. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\editor\Form\EditorImageDialog File core/modules/editor/src/Form/EditorImageDialog.php, line 19 Namespace Drupal\editor\Form Members Name Modifiers Type Description DependencySerializat

EditorDialogSave::__construct

public EditorDialogSave::__construct($values) Constructs a EditorDialogSave object. Parameters string $values: The values that should be passed to the form constructor in Drupal. File core/modules/editor/src/Ajax/EditorDialogSave.php, line 28 Class EditorDialogSave Provides an AJAX command for saving the contents of an editor dialog. Namespace Drupal\editor\Ajax Code public function __construct($values) { $this->values = $values; }

EditorDialogSave::render

public EditorDialogSave::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/modules/editor/src/Ajax/EditorDialogSave.php, line 35 Class EditorDialogSave Provides an AJAX command for saving the contents of an editor dialog. Namespace Drupal\editor\Ajax Code public function render() { return array( 'command' => 'editorDialogSave', 'values' => $this->values, ); }

EditorDialogSave::$values

An array of values that will be passed back to the editor by the dialog. Type: string File core/modules/editor/src/Ajax/EditorDialogSave.php, line 20 Class EditorDialogSave Provides an AJAX command for saving the contents of an editor dialog. Namespace Drupal\editor\Ajax Code protected $values;

EditorDialogSave

Provides an AJAX command for saving the contents of an editor dialog. This command is implemented in editor.dialog.js in Drupal.AjaxCommands.prototype.editorDialogSave. Hierarchy class \Drupal\editor\Ajax\EditorDialogSave implements CommandInterface File core/modules/editor/src/Ajax/EditorDialogSave.php, line 13 Namespace Drupal\editor\Ajax Members Name Modifiers Type Description EditorDialogSave::$values protected property An array of values that will be passed back to

EditorController::getUntransformedText

public EditorController::getUntransformedText(EntityInterface $entity, $field_name, $langcode, $view_mode_id) Returns an Ajax response to render a text field without transformation filters. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity of which a formatted text field is being rerendered. string $field_name: The name of the (formatted text) field that is being rerendered string $langcode: The name of the language for which the formatted text field is being rerendered. strin