You are here

public function Editor::setImageUploadSettings in Drupal 10

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

Sets the image upload settings.

Parameters

array $image_upload: The structured array containing image upload settings.

Return value

$this

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;
}