Same name and namespace in other branches
  1. 8.9.x core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::setImageUploadSettings()
  2. 9 core/modules/editor/src/EditorInterface.php \Drupal\editor\EditorInterface::setImageUploadSettings()

Sets the image upload settings.

Parameters

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

Return value

$this

1 method overrides EditorInterface::setImageUploadSettings()
Editor::setImageUploadSettings in core/modules/editor/src/Entity/Editor.php
Sets the image upload settings.

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