Problem/Motivation

The microsite logo field uses the entity ref autocomplete widget by default, instead of media library. This is clunky and means you have to add the logo as a media image first, and then select it via autocomplete.

Not sure whether there is a specific reason for this but it's easy enough to change so thought I'd propose it.

Proposed resolution

Use the media_libary_widget instead.

Remaining tasks

  1. Create merge request
  2. Review

User interface changes

Before:

After:

API changes

N/A

Data model changes

N/A

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

pameeela created an issue. See original summary.

pameeela’s picture

Issue summary: View changes
Status: Active » Needs review
larowlan’s picture

Status: Needs review » Reviewed & tested by the community

Will merge this once it comes back green

  • larowlan committed f14aca6 on 3.x authored by pameeela
    Issue #3270235 by pameeela, larowlan: Use media library widget for...
larowlan’s picture

Status: Reviewed & tested by the community » Fixed

Test fails are because we don't have a composer.json and MR's don't install test dependencies from info.yml

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.