You are here

function webform_lingotek_config_object_translation_presave in Webform 6.x

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

Implements hook_lingotek_config_object_translation_presave().

File

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

Code

function webform_lingotek_config_object_translation_presave(array &$data, $config_name) {

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