function ResizeImageEffect::defaultConfiguration

Same name and namespace in other branches
  1. 11.x core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php \Drupal\image\Plugin\ImageEffect\ResizeImageEffect::defaultConfiguration()

Overrides ImageEffectBase::defaultConfiguration

File

core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php, line 56

Class

ResizeImageEffect
Resizes an image resource.

Namespace

Drupal\image\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'width' => NULL,
    'height' => NULL,
  ];
}

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