You are here

public function ImageResizeEffect::defaultConfiguration in Image effect kit 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ImageEffectBase::defaultConfiguration

File

src/Plugin/ImageEffect/ImageResizeEffect.php, line 86
Contains \Drupal\iek\Plugin\ImageEffect\ImageResizeEffect.

Class

ImageResizeEffect
IEK - Resize.

Namespace

Drupal\iek\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'width' => NULL,
    'height' => NULL,
    'blank_margin' => 0,
    'blank_margin_bg_color' => '#FFFFFF',
    'position' => 'middle_center',
    'x' => 0,
    'y' => 0,
  ];
}