public function WebformTranslationManagerInterface::getTranslationElements in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformTranslationManagerInterface.php \Drupal\webform\WebformTranslationManagerInterface::getTranslationElements()
Get flattened associative array of translated element properties.
Parameters
\Drupal\webform\WebformInterface $webform: A webform.
string $langcode: The language code for the translated element properties.
Return value
array A associative array of translated element properties.
1 method overrides WebformTranslationManagerInterface::getTranslationElements()
- WebformTranslationManager::getTranslationElements in src/
WebformTranslationManager.php - Get flattened associative array of translated element properties.
File
- src/
WebformTranslationManagerInterface.php, line 67
Class
- WebformTranslationManagerInterface
- Defines an interface for webform element translation classes.
Namespace
Drupal\webformCode
public function getTranslationElements(WebformInterface $webform, $langcode);