You are here

public function WebformTranslationManager::getSourceElements in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformTranslationManager.php \Drupal\webform\WebformTranslationManager::getSourceElements()

Get flattened associative array of translated element properties.

Parameters

\Drupal\webform\WebformInterface $webform: A webform.

Return value

array A associative array of translated element properties.

Overrides WebformTranslationManagerInterface::getSourceElements

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

File

src/WebformTranslationManager.php, line 171

Class

WebformTranslationManager
Defines a class to translate webform elements.

Namespace

Drupal\webform

Code

public function getSourceElements(WebformInterface $webform) {
  return $this
    ->getBaseElements($webform);
}