You are here

function webform_lingotek_config_entity_translation_presave in Webform 6.x

Same name and namespace in other branches
  1. 8.5 includes/webform.translation.inc \webform_lingotek_config_entity_translation_presave()

Implements hook_lingotek_config_entity_translation_presave().

File

includes/webform.translation.inc, line 94
Webform module translation hooks.

Code

function webform_lingotek_config_entity_translation_presave(ConfigEntityInterface &$translation, $langcode, &$data) {

  /** @var \Drupal\webform\WebformTranslationLingotekManagerInterface $translation_lingotek_manager */
  $translation_lingotek_manager = \Drupal::service('webform.translation_lingotek_manager');
  $translation_lingotek_manager
    ->configEntityTranslationPresave($translation, $langcode, $data);
}