/**
* Returns listing breadcrumb
*
* @param int $categoryId
*
* @return array<array{id: int, name: string, blog: bool, link: string}> listing breadcrumb
*
* @deprecated in 5.6, will be private in 5.8
*/
public function getBreadcrumb($categoryId) { $breadcrumb =
Shopware()->
Modules()->
Categories()->
sGetCategoriesByParent($categoryId);
return array_reverse($breadcrumb);
} /**
* @deprecated in 5.7, will be private in 5.8
*
* @param int $categoryId
* @param bool $withStreams
* @param int $streamId
*
* @return array{emotions: array<array<string, mixed>>, hasEmotion: bool, showListing: bool, isHomePage: bool, showListingButton: bool}
*/