public function AutomatedCropEffect::defaultConfiguration in Automated Crop 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ImageEffectBase::defaultConfiguration
File
- src/
Plugin/ ImageEffect/ AutomatedCropEffect.php, line 111
Class
- AutomatedCropEffect
- Provide an Automatic crop tools.
Namespace
Drupal\automated_crop\Plugin\ImageEffectCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'width' => NULL,
'height' => NULL,
'min_width' => NULL,
'min_height' => NULL,
'max_width' => NULL,
'max_height' => NULL,
'aspect_ratio' => 'NaN',
'provider' => 'automated_crop_default',
];
}