You are here

public function ContainerBase::getItemDefaultFormat in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElement/ContainerBase.php \Drupal\webform\Plugin\WebformElement\ContainerBase::getItemDefaultFormat()

Get an element's default single value format name.

Return value

string An element's default single value format name.

Overrides WebformElementBase::getItemDefaultFormat

2 calls to ContainerBase::getItemDefaultFormat()
Container::defineDefaultProperties in src/Plugin/WebformElement/Container.php
Define an element's default properties.
ContainerBase::defineDefaultProperties in src/Plugin/WebformElement/ContainerBase.php
Define an element's default properties.
5 methods override ContainerBase::getItemDefaultFormat()
Details::getItemDefaultFormat in src/Plugin/WebformElement/Details.php
Get an element's default single value format name.
Fieldset::getItemDefaultFormat in src/Plugin/WebformElement/Fieldset.php
Get an element's default single value format name.
WebformActions::getItemDefaultFormat in src/Plugin/WebformElement/WebformActions.php
Get an element's default single value format name.
WebformCard::getItemDefaultFormat in modules/webform_cards/src/Plugin/WebformElement/WebformCard.php
Get an element's default single value format name.
WebformSection::getItemDefaultFormat in src/Plugin/WebformElement/WebformSection.php
Get an element's default single value format name.

File

src/Plugin/WebformElement/ContainerBase.php, line 232

Class

ContainerBase
Provides a base 'container' class.

Namespace

Drupal\webform\Plugin\WebformElement

Code

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