protected function WebformTelephone::defineDefaultProperties in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformTelephone.php \Drupal\webform\Plugin\WebformElement\WebformTelephone::defineDefaultProperties()
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/ WebformTelephone.php, line 26
Class
- WebformTelephone
- Provides a 'telephone' (composite) element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultProperties() {
$properties = [
'title_display' => '',
'phone__international' => TRUE,
'phone__international_initial_country' => '',
] + parent::defineDefaultProperties();
unset($properties['flexbox']);
return $properties;
}