EditorInterface::setImageUploadSettings

public EditorInterface::setImageUploadSettings(array $image_upload) Sets the image upload settings. Parameters array $image_upload: The structured array containing image upload settings. Return value $this File core/modules/editor/src/EditorInterface.php, line 83 Class EditorInterface Provides an interface defining a text editor entity. Namespace Drupal\editor Code public function setImageUploadSettings(array $image_upload);

EditorInterface::setEditor

public EditorInterface::setEditor($editor) Set the text editor plugin ID. Parameters string $editor: The text editor plugin ID to set. File core/modules/editor/src/EditorInterface.php, line 47 Class EditorInterface Provides an interface defining a text editor entity. Namespace Drupal\editor Code public function setEditor($editor);

EditorInterface::hasAssociatedFilterFormat

public EditorInterface::hasAssociatedFilterFormat() Returns whether this text editor has an associated filter format. A text editor may be created at the same time as the filter format it's going to be associated with; in that case, no filter format object is available yet. Return value bool File core/modules/editor/src/EditorInterface.php, line 21 Class EditorInterface Provides an interface defining a text editor entity. Namespace Drupal\editor Code public function hasAssociatedFilte

EditorInterface::getSettings

public EditorInterface::getSettings() Returns the text editor plugin-specific settings. Return value array A structured array containing all text editor settings. File core/modules/editor/src/EditorInterface.php, line 55 Class EditorInterface Provides an interface defining a text editor entity. Namespace Drupal\editor Code public function getSettings();

EditorInterface::getImageUploadSettings

public EditorInterface::getImageUploadSettings() Returns the image upload settings. Return value array A structured array containing image upload settings. File core/modules/editor/src/EditorInterface.php, line 73 Class EditorInterface Provides an interface defining a text editor entity. Namespace Drupal\editor Code public function getImageUploadSettings();

EditorInterface::getFilterFormat

public EditorInterface::getFilterFormat() Returns the filter format this text editor is associated with. This could be NULL if the associated filter format is still being created. Return value \Drupal\filter\FilterFormatInterface|null See also hasAssociatedFilterFormat() File core/modules/editor/src/EditorInterface.php, line 31 Class EditorInterface Provides an interface defining a text editor entity. Namespace Drupal\editor Code public function getFilterFormat();

EditorInterface::getEditor

public EditorInterface::getEditor() Returns the associated text editor plugin ID. Return value string The text editor plugin ID. File core/modules/editor/src/EditorInterface.php, line 39 Class EditorInterface Provides an interface defining a text editor entity. Namespace Drupal\editor Code public function getEditor();

EditorInterface

Provides an interface defining a text editor entity. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\editor\EditorInterface File core/modules/editor/src/EditorInterface.php, line 10 Namespace Drupal\editor Members Name Modifiers Type Description AccessibleInterface::access public function Checks data value access. Cachea

EditorImageDialog::__construct

public EditorImageDialog::__construct(EntityStorageInterface $file_storage) Constructs a form object for image dialog. Parameters \Drupal\Core\Entity\EntityStorageInterface $file_storage: The file storage service. File core/modules/editor/src/Form/EditorImageDialog.php, line 34 Class EditorImageDialog Provides an image dialog for text editors. Namespace Drupal\editor\Form Code public function __construct(EntityStorageInterface $file_storage) { $this->fileStorage = $file_storage;

EditorImageDialog::submitForm

public EditorImageDialog::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/editor/src/Form/EditorImageDialog.php, line 200 Class EditorImageDialog Provides an image dialog for text editors. Namespace Drupal\editor\Form Code public fun