/**
* Converts the provided manufacturer to the category seo data structure.
* Result can be merged with "sCategoryContent" to override relevant seo category data with
* manufacturer data.
*
* @return array{metaDescription: string, metaKeywords: string, canonicalParams: array{sViewport: string, sAction: string, sSupplier: int}, metaTitle: string, title: string, productBoxLayout: string}
*/
private function getSeoDataOfManufacturer(Manufacturer
$manufacturer): array
{ $content =
[];
$content['metaDescription'
] =
$manufacturer->
getMetaDescription();
$content['metaKeywords'
] =
$manufacturer->
getMetaKeywords();
$canonicalParams =
[ 'sViewport' => 'listing',
'sAction' => 'manufacturer',
'sSupplier' =>
$manufacturer->
getId(),
];
$content['canonicalParams'
] =
$canonicalParams;
$content['metaTitle'
] =
$manufacturer->
getMetaTitle();
$content['title'
] =
$manufacturer->
getName();