Commit 2fe16918 authored by David Coote's avatar David Coote Committed by Jonathan Sacksick
Browse files

Issue #3131962 by Aerzas, au_dave, skyredwang: Make Coupons field form display configurable.

parent 9696ef57
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/promotion/commerce_promotion.module: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -141,12 +141,12 @@ function commerce_promotion_entity_base_field_info(EntityTypeInterface $entity_t
      ->setSetting('handler', 'default')
      ->setTranslatable(FALSE)
      ->addConstraint('CouponValid')
      ->setDisplayConfigurable('form', TRUE)
      ->setDisplayOptions('form', [
        'type' => 'entity_reference_autocomplete',
        'weight' => 5,
        'settings' => [
          'match_operator' => 'CONTAINS',
          'size' => '60',
          'autocomplete_type' => 'tags',
          'placeholder' => '',
        ],