protected function WebformDevelEntityFormApiBaseForm::initialize in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_devel/src/Form/WebformDevelEntityFormApiBaseForm.php \Drupal\webform_devel\Form\WebformDevelEntityFormApiBaseForm::initialize()
Initialize WebformDevelEntityFormApiBaseForm object.
File
- modules/
webform_devel/ src/ Form/ WebformDevelEntityFormApiBaseForm.php, line 73
Class
- WebformDevelEntityFormApiBaseForm
- Export a webform's element to Form API (FAPI).
Namespace
Drupal\webform_devel\FormCode
protected function initialize() {
$translatable_properties = $this->elementManager
->getTranslatableProperties();
$translatable_properties = array_combine($translatable_properties, $translatable_properties);
unset($translatable_properties['default_value']);
$this->translatableProperties = $translatable_properties;
}