Commit f14aca61 authored by Pamela Barone's avatar Pamela Barone Committed by Lee Rowlands
Browse files

Issue #3270235 by pameeela, larowlan: Use media library widget for microsite logo

parent ffd06209
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ class Microsite extends ContentEntityBase implements MicrositeInterface {
        'weight' => -5,
      ])
      ->setDisplayOptions('form', [
        'type' => 'entity_reference_autocomplete',
        'type' => \Drupal::moduleHandler()->moduleExists('media_library') ? 'media_library_widget' : 'entity_reference_autocomplete',
        'weight' => -5,
      ])
      ->setDisplayConfigurable('view', TRUE)