protected function LoqatePcaAddress::defineDefaultProperties in Loqate 2.x
Define an element's default properties.
Return value
array An associative array contain an the element's default properties.
Overrides WebformCompositeBase::defineDefaultProperties
File
- src/
Plugin/ WebformElement/ LoqatePcaAddress.php, line 83
Class
- LoqatePcaAddress
- Provides a 'PCA address' element.
Namespace
Drupal\loqate\Plugin\WebformElementCode
protected function defineDefaultProperties() {
return [
'pca_fields' => [],
'pca_options' => [],
'show_address_fields' => FALSE,
'allow_manual_input' => TRUE,
'loqate_api_key' => NULL,
] + parent::defineDefaultProperties();
}