public function FocusScaleCropImageEffect::defaultConfiguration in Image Focus Crop 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ResizeImageEffect::defaultConfiguration
File
- src/
Plugin/ ImageEffect/ FocusScaleCropImageEffect.php, line 136
Class
- FocusScaleCropImageEffect
- Crops with focus an image resource.
Namespace
Drupal\image_focus\Plugin\ImageEffectCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'face_detect' => FALSE,
];
}