You are here

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

Class

ImageFilterEffect
IEK - Filter.

Namespace

Drupal\iek\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'filter_name' => '',
    'repeat' => 1,
    'arg1' => 0,
    'arg2' => 0,
    'arg3' => 0,
    'arg4' => 0,
  ];
}