You are here

public function PcaAddressElementTrait::buildElementGetInfo in Loqate 8

Same name and namespace in other branches
  1. 2.x src/PcaAddressElementTrait.php \Drupal\loqate\PcaAddressElementTrait::buildElementGetInfo()

Get the default settings for the field widget.

2 calls to PcaAddressElementTrait::buildElementGetInfo()
AddressPcaAddress::getInfo in modules/pca_address/src/Element/AddressPcaAddress.php
Returns the element properties for this element.
LoqatePcaAddress::getInfo in src/Element/LoqatePcaAddress.php
Returns the element properties for this element.

File

src/PcaAddressElementTrait.php, line 23

Class

PcaAddressElementTrait
Class PcaAddressElementTrait.

Namespace

Drupal\loqate

Code

public function buildElementGetInfo() {
  return [
    '#pca_fields' => [],
    '#pca_options' => [],
    '#show_address_fields' => FALSE,
    '#allow_manual_input' => TRUE,
  ];
}