You are here

function webform_lingotek_config_entity_document_upload in Webform 6.x

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

Implements hook_lingotek_config_entity_document_upload().

File

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

Code

function webform_lingotek_config_entity_document_upload(array &$source_data, ConfigEntityInterface &$entity, &$url) {

  /** @var \Drupal\webform\WebformTranslationLingotekManagerInterface $translation_lingotek_manager */
  $translation_lingotek_manager = \Drupal::service('webform.translation_lingotek_manager');
  $translation_lingotek_manager
    ->configEntityDocumentUpload($source_data, $entity, $url);
}