Skip to content
Snippets Groups Projects

Issue #3382787: Add responsive_image field widget in form display for image type field

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Andrey Postnikov
  • Andrey Postnikov
  • Andrey Postnikov
  • sorlov added 1 commit

    added 1 commit

    Compare with previous version

  • sorlov added 1 commit

    added 1 commit

    Compare with previous version

  • sorlov added 5 commits

    added 5 commits

    Compare with previous version

  • sorlov added 5 commits

    added 5 commits

    Compare with previous version

  • sorlov added 9 commits

    added 9 commits

    Compare with previous version

  • 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();
  • 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' => '',
  • sorlov added 549 commits

    added 549 commits

    Compare with previous version

  • sorlov added 1 commit

    added 1 commit

    Compare with previous version

  • sorlov added 286 commits

    added 286 commits

    • 29227fab...c574a6e4 - 285 commits from branch project:11.x
    • dd9d388e - Merge branch drupal:11.x into 3382787-add-responsiveimage-field

    Compare with previous version

  • Wim Leers
  • sorlov added 243 commits

    added 243 commits

    • dd9d388e...320e5fd6 - 242 commits from branch project:11.x
    • 7a5c424f - Merge branch drupal:11.x into 3382787-add-responsiveimage-field

    Compare with previous version

  • sorlov added 1 commit

    added 1 commit

    • 63f53666 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • sorlov added 1 commit

    added 1 commit

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading