init
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user