public static function ImageCropWidget::defaultSettings in Lightning Media 8
Same name and namespace in other branches
- 8.4 modules/lightning_media_image/src/Plugin/Field/FieldWidget/ImageCropWidget.php \Drupal\lightning_media_image\Plugin\Field\FieldWidget\ImageCropWidget::defaultSettings()
- 8.2 modules/lightning_media_image/src/Plugin/Field/FieldWidget/ImageCropWidget.php \Drupal\lightning_media_image\Plugin\Field\FieldWidget\ImageCropWidget::defaultSettings()
- 8.3 modules/lightning_media_image/src/Plugin/Field/FieldWidget/ImageCropWidget.php \Drupal\lightning_media_image\Plugin\Field\FieldWidget\ImageCropWidget::defaultSettings()
File
- modules/
lightning_media_image/ src/ Plugin/ Field/ FieldWidget/ ImageCropWidget.php, line 15
Class
Namespace
Drupal\lightning_media_image\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
$settings = parent::defaultSettings();
$settings['crop_list'] = [];
$settings['warn_multiple_usages'] = FALSE;
return $settings;
}