function ImageResize::defaultConfiguration

Same name in other branches
  1. 9 core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ImageResize.php \Drupal\ckeditor5\Plugin\CKEditor5Plugin\ImageResize::defaultConfiguration()
  2. 11.x core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ImageResize.php \Drupal\ckeditor5\Plugin\CKEditor5Plugin\ImageResize::defaultConfiguration()

File

core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ImageResize.php, line 25

Class

ImageResize
CKEditor 5 ImageResize plugin.

Namespace

Drupal\ckeditor5\Plugin\CKEditor5Plugin

Code

public function defaultConfiguration() {
    return [
        'allow_resize' => TRUE,
    ];
}

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