You are here

protected function WebformTranslationManager::getTranslatableProperties in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformTranslationManager.php \Drupal\webform\WebformTranslationManager::getTranslatableProperties()

Get translated properties from element manager.

Return value

array An array of translated properties prefixed with a hashes (#).

1 call to WebformTranslationManager::getTranslatableProperties()
WebformTranslationManager::removeUnTranslatablePropertiesFromElement in src/WebformTranslationManager.php
Remove untranslatable properties form an element.

File

src/WebformTranslationManager.php, line 245

Class

WebformTranslationManager
Defines a class to translate webform elements.

Namespace

Drupal\webform

Code

protected function getTranslatableProperties() {
  if ($this->translatableProperties) {
    return $this->translatableProperties;
  }
  $this->translatableProperties = WebformArrayHelper::addPrefix($this->elementManager
    ->getTranslatableProperties());
  return $this->translatableProperties;
}