You are here

public static function ImageCropWidget::defaultSettings in Lightning Media 8

Same name and namespace in other branches
  1. 8.4 modules/lightning_media_image/src/Plugin/Field/FieldWidget/ImageCropWidget.php \Drupal\lightning_media_image\Plugin\Field\FieldWidget\ImageCropWidget::defaultSettings()
  2. 8.2 modules/lightning_media_image/src/Plugin/Field/FieldWidget/ImageCropWidget.php \Drupal\lightning_media_image\Plugin\Field\FieldWidget\ImageCropWidget::defaultSettings()
  3. 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

ImageCropWidget

Namespace

Drupal\lightning_media_image\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  $settings = parent::defaultSettings();
  $settings['crop_list'] = [];
  $settings['warn_multiple_usages'] = FALSE;
  return $settings;
}