public function ImagePaddingEffect::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/ ImagePaddingEffect.php, line 73 - Contains \Drupal\iek\Plugin\ImageEffect\ImagePaddingEffect.
Class
- ImagePaddingEffect
- IEK - Padding.
Namespace
Drupal\iek\Plugin\ImageEffectCode
public function defaultConfiguration() {
return [
'padding_top' => 10,
'padding_right' => 10,
'padding_bottom' => 10,
'padding_left' => 10,
'bg_color' => '#FFFFFF',
];
}