You are here

abstract protected function YamlFormCompositeBase::getInitializedCompositeElement in YAML Form 8

Get initialized composite element.

Parameters

array &$element: A composite element.

Return value

array The initialized composite test element.

8 calls to YamlFormCompositeBase::getInitializedCompositeElement()
YamlFormCompositeBase::buildExportHeader in src/Plugin/YamlFormElement/YamlFormCompositeBase.php
Build an element's export header.
YamlFormCompositeBase::buildExportRecord in src/Plugin/YamlFormElement/YamlFormCompositeBase.php
Build an element's export row.
YamlFormCompositeBase::formatHtml in src/Plugin/YamlFormElement/YamlFormCompositeBase.php
Format an element's value as HTML.
YamlFormCompositeBase::formatLines in src/Plugin/YamlFormElement/YamlFormCompositeBase.php
Format composite element value into lines of text.
YamlFormCompositeBase::formatText in src/Plugin/YamlFormElement/YamlFormCompositeBase.php
Format an element's value as plain text.

... See full list

4 methods override YamlFormCompositeBase::getInitializedCompositeElement()
YamlFormAddress::getInitializedCompositeElement in src/Plugin/YamlFormElement/YamlFormAddress.php
Get initialized composite element.
YamlFormCreditCard::getInitializedCompositeElement in src/Plugin/YamlFormElement/YamlFormCreditCard.php
Get initialized composite element.
YamlFormLocation::getInitializedCompositeElement in src/Plugin/YamlFormElement/YamlFormLocation.php
Get initialized composite element.
YamlFormName::getInitializedCompositeElement in src/Plugin/YamlFormElement/YamlFormName.php
Get initialized composite element.

File

src/Plugin/YamlFormElement/YamlFormCompositeBase.php, line 44

Class

YamlFormCompositeBase
Provides a base for composite elements.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

protected abstract function getInitializedCompositeElement(array &$element);