You are here

final class PcaAddressElement in Loqate 8

Same name and namespace in other branches
  1. 2.x src/PcaAddressFieldMapping/PcaAddressElement.php \Drupal\loqate\PcaAddressFieldMapping\PcaAddressElement

Field mapping element for PCA Address.

Hierarchy

Expanded class hierarchy of PcaAddressElement

3 files declare their use of PcaAddressElement
LoqatePcaAddress.php in src/Element/LoqatePcaAddress.php
LoqatePcaAddressItem.php in src/Plugin/Field/FieldType/LoqatePcaAddressItem.php
PcaAddressSettingsForm.php in src/Form/PcaAddressSettingsForm.php

File

src/PcaAddressFieldMapping/PcaAddressElement.php, line 8

Namespace

Drupal\loqate\PcaAddressFieldMapping
View source
final class PcaAddressElement {
  public const LINE1 = 'address_line1';
  public const LINE2 = 'address_line2';
  public const LOCALITY = 'locality';
  public const DEPENDENT_LOCALITY = 'dependent_locality';
  public const ADMINISTRATIVE_AREA = 'administrative_area';
  public const POSTAL_CODE = 'postal_code';
  public const SORTING_CODE = 'sorting_code';
  public const ORGANIZATION = 'organization';
  public const COUNTRY_CODE = 'country_code';
  static function getConstants() {
    return (new \ReflectionClass(__CLASS__))
      ->getConstants();
  }

}

Members