public function WebformCard::getItemDefaultFormat in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_cards/src/Plugin/WebformElement/WebformCard.php \Drupal\webform_cards\Plugin\WebformElement\WebformCard::getItemDefaultFormat()
Get an element's default single value format name.
Return value
string An element's default single value format name.
Overrides ContainerBase::getItemDefaultFormat
1 call to WebformCard::getItemDefaultFormat()
- WebformCard::defineDefaultProperties in modules/
webform_cards/ src/ Plugin/ WebformElement/ WebformCard.php - Define an element's default properties.
File
- modules/
webform_cards/ src/ Plugin/ WebformElement/ WebformCard.php, line 62
Class
- WebformCard
- Provides a 'card' element.
Namespace
Drupal\webform_cards\Plugin\WebformElementCode
public function getItemDefaultFormat() {
return 'details';
}