public function MobileNumber::getItemDefaultFormat in Mobile Number 8
Same name and namespace in other branches
- 2.0.x src/Plugin/WebformElement/MobileNumber.php \Drupal\mobile_number\Plugin\WebformElement\MobileNumber::getItemDefaultFormat()
Get an element's default single value format name.
Return value
string An element's default single value format name.
Overrides WebformElementBase::getItemDefaultFormat
File
- src/
Plugin/ WebformElement/ MobileNumber.php, line 185
Class
- MobileNumber
- Provides a 'mobile_number' element.
Namespace
Drupal\mobile_number\Plugin\WebformElementCode
public function getItemDefaultFormat() {
return 'mobile_number_international';
}