You are here

public function ImageUpload::buildConfigurationForm in Drupal 10

See also

\Drupal\editor\Form\EditorImageDialog

editor_image_upload_settings_form()

File

core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ImageUpload.php, line 75

Class

ImageUpload
CKEditor 5 Image plugin.

Namespace

Drupal\ckeditor5\Plugin\CKEditor5Plugin

Code

public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
  $form_state
    ->loadInclude('editor', 'admin.inc');
  return editor_image_upload_settings_form($form_state
    ->get('editor'));
}