You are here

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

Class

ImageOverlayEffect
IEK - Overlay.

Namespace

Drupal\iek\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'overlay_name' => '',
    'overlay_offset' => 0,
    'bg_offset' => 0,
  ];
}