You are here

public function WebformTranslationLingotekManagerInterface::configEntityTranslationPresave in Webform 6.x

Implements hook_lingotek_config_entity_translation_presave().

Parameters

\Drupal\Core\Config\Entity\ConfigEntityInterface &$translation: The config entity that is going to be saved.

string $langcode: Drupal language code that has been downloaded.

array &$data: Data returned from the Lingotek service when asking for the translation.

See also

hook_lingotek_config_entity_translation_presave().

1 method overrides WebformTranslationLingotekManagerInterface::configEntityTranslationPresave()
WebformTranslationLingotekManager::configEntityTranslationPresave in src/WebformTranslationLingotekManager.php
Implements hook_lingotek_config_entity_translation_presave().

File

src/WebformTranslationLingotekManagerInterface.php, line 39

Class

WebformTranslationLingotekManagerInterface
Defines an interface for webform Lingotek translation classes.

Namespace

Drupal\webform

Code

public function configEntityTranslationPresave(ConfigEntityInterface &$translation, $langcode, &$data);