You are here

public function ImageBorderEffect::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/ImageBorderEffect.php, line 73
Contains \Drupal\iek\Plugin\ImageEffect\ImageBorderEffect.

Class

ImageBorderEffect
IEK - Resize.

Namespace

Drupal\iek\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'border_color' => '#EDEDED',
    'border_thick_top' => 5,
    'border_thick_right' => 5,
    'border_thick_bottom' => 5,
    'border_thick_left' => 5,
  ];
}