function Editor::setImageUploadSettings

Same name and namespace in other branches
  1. 9 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::setImageUploadSettings()
  2. 10 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::setImageUploadSettings()
  3. 11.x core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::setImageUploadSettings()

Overrides EditorInterface::setImageUploadSettings

File

core/modules/editor/src/Entity/Editor.php, line 188

Class

Editor
Defines the configured text editor entity.

Namespace

Drupal\editor\Entity

Code

public function setImageUploadSettings(array $image_upload_settings) {
    $this->image_upload = $image_upload_settings;
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.