You are here

public function YamlFormTranslationManager::getSourceElements in YAML Form 8

Get flattened associative array of translated element properties.

Parameters

\Drupal\yamlform\YamlFormInterface $yamlform: A form.

Return value

array A associative array of translated element properties.

Overrides YamlFormTranslationManagerInterface::getSourceElements

1 call to YamlFormTranslationManager::getSourceElements()
YamlFormTranslationManager::getTranslationElements in src/YamlFormTranslationManager.php
Get flattened associative array of translated element properties.

File

src/YamlFormTranslationManager.php, line 109

Class

YamlFormTranslationManager
Defines a class to translate form elements.

Namespace

Drupal\yamlform

Code

public function getSourceElements(YamlFormInterface $yamlform) {
  $elements = $this
    ->getBaseElements($yamlform);
  return $elements;
}