public static function EtufHelper::postCreateOrUpdateAutoTranslate in Entity Translation Unified Form 8
File
- src/
EtufHelper.php, line 65
Class
- EtufHelper
- Helper class for the Etuf module.
Namespace
Drupal\entity_translation_unified_formCode
public static function postCreateOrUpdateAutoTranslate($entity_id, $other_lang) {
// @todo that function doesn't actually do anything with param 2.
$menu_link_main_array = static::translateLinkIfNotTranslated($entity_id, $other_lang);
// For goto redirect.
return $menu_link_main_array;
}