public function AdvanceResizeImageEffect::defaultConfiguration in image effect 8
Same name and namespace in other branches
- 2.0.x src/Plugin/ImageEffect/AdvanceResizeImageEffect.php \Drupal\image_effect\Plugin\ImageEffect\AdvanceResizeImageEffect::defaultConfiguration()
- 1.0.x src/Plugin/ImageEffect/AdvanceResizeImageEffect.php \Drupal\image_effect\Plugin\ImageEffect\AdvanceResizeImageEffect::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ImageEffectBase::defaultConfiguration
File
- src/
Plugin/ ImageEffect/ AdvanceResizeImageEffect.php, line 57
Class
- AdvanceResizeImageEffect
- Resizes an image resource in advance.
Namespace
Drupal\image_effect\Plugin\ImageEffectCode
public function defaultConfiguration() {
return [
'width' => NULL,
'height' => NULL,
];
}