add attribute language after install new language
This commit is contained in:
parent
4d5f217a1e
commit
3e727a6cf9
|
|
@ -7,7 +7,10 @@ use Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException;
|
|||
|
||||
class LanguageService
|
||||
{
|
||||
private static $models = ['ProductDescription', 'CategoryDescription', 'CustomerGroupDescription', 'PageDescription'];
|
||||
private static $models = [
|
||||
'AttributeDescription', 'AttributeGroupDescription', 'AttributeValueDescription', 'CategoryDescription',
|
||||
'CustomerGroupDescription', 'PageCategoryDescription', 'PageDescription', 'ProductDescription',
|
||||
];
|
||||
|
||||
public static function all(): array
|
||||
{
|
||||
|
|
@ -32,7 +35,7 @@ class LanguageService
|
|||
];
|
||||
}
|
||||
|
||||
return $result;
|
||||
return $result;
|
||||
}
|
||||
|
||||
public static function create($data)
|
||||
|
|
|
|||
Loading…
Reference in New Issue