public function ReflectImageEffect::defaultConfiguration in ImageCache Reflect 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ImageEffectBase::defaultConfiguration
File
- lib/
Drupal/ imagecache_reflect/ Plugin/ ImageEffect/ ReflectImageEffect.php, line 61 - Contains \Drupal\imagecache_reflect\Plugin\ImageEffect\ReflectImageEffect.
Class
- ReflectImageEffect
- Creates a reflection-like effect on an image resource.
Namespace
Drupal\imagecache_reflect\Plugin\ImageEffectCode
public function defaultConfiguration() {
return array(
'bgcolor' => '#FFFFFF',
'position' => 'bottom',
'transparency' => FALSE,
'size' => '50%',
);
}