You are here

public function WebformCard::getItemDefaultFormat in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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\WebformElement

Code

public function getItemDefaultFormat() {
  return 'details';
}