class ProductTranslationController extends Controller

Class ProductTranslationController defines routes for entity translations

Methods

JsonResponse
generateTranslationsAction(ArrayCollection $productTranslationsUpdate)

Backend route for generating new product translations

JsonResponse
generateProductSeoTranslationsAction(ArrayCollection $productSeoTranslationsUpdate)

Backend route for generating new product seo translations

Response
saveEntityTranslationsAction(ArrayCollection $generateEntityRelationship)

Backend route for generating default translation for entities from catalogue

JsonResponse
generateTranslationsForCategoryAction(ArrayCollection $categoryTranslationsUpdate)

Backend route for updating category translations

JsonResponse
generateBrandsTranslationsAction(ArrayCollection $updateEntityTranslations)

Backend route for updating brand translations

Details

at line 45
JsonResponse generateTranslationsAction(ArrayCollection $productTranslationsUpdate)

Backend route for generating new product translations

Parameters

ArrayCollection $productTranslationsUpdate

Return Value

JsonResponse

See also

ProductTranslationsUpdateConverter

at line 60
JsonResponse generateProductSeoTranslationsAction(ArrayCollection $productSeoTranslationsUpdate)

Backend route for generating new product seo translations

Parameters

ArrayCollection $productSeoTranslationsUpdate

Return Value

JsonResponse

See also

ProductSeoTranslationsUpdateConverter

at line 75
Response saveEntityTranslationsAction(ArrayCollection $generateEntityRelationship)

Backend route for generating default translation for entities from catalogue

Parameters

ArrayCollection $generateEntityRelationship

Return Value

Response

See also

GenerateEntityRelationshipConverter

at line 90
JsonResponse generateTranslationsForCategoryAction(ArrayCollection $categoryTranslationsUpdate)

Backend route for updating category translations

Parameters

ArrayCollection $categoryTranslationsUpdate

Return Value

JsonResponse

See also

CategoryTranslationsUpdateConverter

at line 118
JsonResponse generateBrandsTranslationsAction(ArrayCollection $updateEntityTranslations)

Backend route for updating brand translations

Parameters

ArrayCollection $updateEntityTranslations

Return Value

JsonResponse

See also

UpdateEntityTranslationsConverter