This commit is contained in:
2026-09-15 10:35:56 +08:00
commit 782f8ea7aa
4086 changed files with 631288 additions and 0 deletions
@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
namespace Esun\MultiLocaleTranslation\Model;
interface TranslatableEntityInterface
{
/**
* @return array<int, array{
* code:string,
* label:string,
* source_value:string,
* target_value:string,
* is_html:bool,
* use_default:bool
* }>
*/
public function getFields(int $entityId, int $sourceStoreId, int $targetStoreId): array;
public function apply(int $entityId, int $targetStoreId, array $fields, array $useDefault = []): void;
}