You are here

public function AddressPcaAddress::getInfo in Loqate 2.x

Same name and namespace in other branches
  1. 8 modules/pca_address/src/Element/AddressPcaAddress.php \Drupal\pca_address\Element\AddressPcaAddress::getInfo()

File

modules/pca_address/src/Element/AddressPcaAddress.php, line 49

Class

AddressPcaAddress
Provides an advanced PCA address form element.

Namespace

Drupal\pca_address\Element

Code

public function getInfo() {
  $info = parent::getInfo();
  $info['#process'][] = [
    get_class($this),
    'processPcaAddress',
  ];
  $info['#attached']['library'][] = 'loqate/element.pca_address.address.js';
  return $this
    ->buildElementGetInfo() + $info;
}