Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects

OEL-1213: New inline address formatter.

Merged Francesco SARDARA requested to merge OEL-1213 into 1.x

Created by: Maxfire

Address new formatter created to inline the field, tests also done.

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
1 <?php
2
3 declare(strict_types = 1);
4
5 namespace Drupal\oe_whitelabel_helper\Plugin\Field\FieldFormatter;
6
7 use CommerceGuys\Addressing\Locale;
8 use Drupal\address\AddressInterface;
9 use Drupal\address\Plugin\Field\FieldFormatter\AddressDefaultFormatter;
10 use Drupal\Core\Field\FieldItemListInterface;
11 use Drupal\Core\Form\FormStateInterface;
12 use Drupal\Core\Language\LanguageInterface;
13
14 /**
15 * Format an address inline with locale format and a configurable separator.
16 *
  • Francesco SARDARA
  • Francesco SARDARA changed title from OEL-1213: Address formatted created, tests provided. to OEL-1213: New inline address formatter.

    changed title from OEL-1213: Address formatted created, tests provided. to OEL-1213: New inline address formatter.

  • Created by: drishu

    Review: Approved

  • Created by: GilNovacomm

    Review: Approved

  • Merged by: drishu at 2022-03-07 07:59:48 UTC

  • merged manually

  • Please register or sign in to reply
    Loading