public function CropImageEffect::defaultConfiguration in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/Plugin/ImageEffect/CropImageEffect.php \Drupal\image\Plugin\ImageEffect\CropImageEffect::defaultConfiguration()
- 9 core/modules/image/src/Plugin/ImageEffect/CropImageEffect.php \Drupal\image\Plugin\ImageEffect\CropImageEffect::defaultConfiguration()
File
- core/
modules/ image/ src/ Plugin/ ImageEffect/ CropImageEffect.php, line 49
Class
- CropImageEffect
- Crops an image resource.
Namespace
Drupal\image\Plugin\ImageEffectCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'anchor' => 'center-center',
];
}