You are here

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

Class

ImageWatermarkEffect
IEK - Watermark.

Namespace

Drupal\iek\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'text' => '',
    'font' => '',
    'color' => '#FFFFFF',
    'size' => 24,
    'angle' => -45,
    'position' => 'middle_center',
    'padding_top' => 10,
    'padding_right' => 10,
    'padding_bottom' => 10,
    'padding_left' => 10,
  ];
}