Issue #3382787: Add responsive_image field widget in form display for image type field
Merge request reports
Activity
- Resolved by sorlov
- Resolved by sorlov
- Resolved by sorlov
- Resolved by sorlov
added 5 commits
-
b553eaa2...d418da39 - 4 commits from branch
project:11.x
- 5b07c5a0 - Merge branch drupal:11.x into 3382787-add-responsiveimage-field
-
b553eaa2...d418da39 - 4 commits from branch
added 5 commits
-
5b07c5a0...857aadc1 - 4 commits from branch
project:11.x
- d0bc4a6c - Merge branch drupal:11.x into 3382787-add-responsiveimage-field
-
5b07c5a0...857aadc1 - 4 commits from branch
added 9 commits
-
d0bc4a6c...12dabf05 - 8 commits from branch
project:11.x
- 20eb76e1 - Merge branch drupal:11.x into 3382787-add-responsiveimage-field
-
d0bc4a6c...12dabf05 - 8 commits from branch
50 * The image factory service. 51 * @param \Drupal\Core\Entity\EntityStorageInterface $responsive_image_style_storage 52 * The responsive image style storage. 53 */ 54 public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, array $third_party_settings, ElementInfoManagerInterface $element_info, ImageFactory $image_factory = NULL, EntityStorageInterface $responsive_image_style_storage = NULL) { 55 parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $third_party_settings, $element_info, $image_factory); 56 $this->responsiveImageStyleStorage = $responsive_image_style_storage ?: \Drupal::service('entity_type.manager')->getStorage('responsive_image_style'); 57 } 58 59 /** 60 * {@inheritdoc} 61 */ 62 public static function defaultSettings() { 63 return [ 64 'preview_responsive_image_style' => '', 65 ] + parent::defaultSettings(); changed this line in version 9 of the diff
49 * @param \Drupal\Core\Image\ImageFactory $image_factory 50 * The image factory service. 51 * @param \Drupal\Core\Entity\EntityStorageInterface $responsive_image_style_storage 52 * The responsive image style storage. 53 */ 54 public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, array $third_party_settings, ElementInfoManagerInterface $element_info, ImageFactory $image_factory = NULL, EntityStorageInterface $responsive_image_style_storage = NULL) { 55 parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $third_party_settings, $element_info, $image_factory); 56 $this->responsiveImageStyleStorage = $responsive_image_style_storage ?: \Drupal::service('entity_type.manager')->getStorage('responsive_image_style'); 57 } 58 59 /** 60 * {@inheritdoc} 61 */ 62 public static function defaultSettings() { 63 return [ 64 'preview_responsive_image_style' => '', changed this line in version 9 of the diff
added 549 commits
-
20eb76e1...49175bf5 - 548 commits from branch
project:11.x
- 8d56ac53 - #3382787 Add responsive_image field widget
-
20eb76e1...49175bf5 - 548 commits from branch
added 286 commits
-
29227fab...c574a6e4 - 285 commits from branch
project:11.x
- dd9d388e - Merge branch drupal:11.x into 3382787-add-responsiveimage-field
-
29227fab...c574a6e4 - 285 commits from branch
- Resolved by sorlov
added 243 commits
-
dd9d388e...320e5fd6 - 242 commits from branch
project:11.x
- 7a5c424f - Merge branch drupal:11.x into 3382787-add-responsiveimage-field
-
dd9d388e...320e5fd6 - 242 commits from branch
Please register or sign in to reply