function ImageResize::defaultConfiguration

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::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.