You are a developer and looking for Shopware projects?
Apply Now!
displayInNavigation example
'metaDescription' =>
$category
->
getMetaDescription
(
)
,
'cmsHeadline' =>
$category
->
getCmsHeadline
(
)
,
'cmsText' =>
$category
->
getCmsText
(
)
,
'active' => true,
'template' =>
$category
->
getTemplate
(
)
,
'productBoxLayout' =>
$this
->
getProductBoxLayout
(
$category
)
,
'blog' =>
$category
->
isBlog
(
)
,
'path' =>
$categoryPath
,
'external' =>
$category
->
getExternalLink
(
)
,
'externalTarget' =>
$category
->
getExternalTarget
(
)
,
'hideFilter' => !
$category
->
displayFacets
(
)
,
'hideTop' => !
$category
->
displayInNavigation
(
)
,
'changed' => null,
'added' => null,
'attribute' =>
$attribute
,
'attributes' =>
$category
->
getAttributes
(
)
,
'media' =>
$media
,
'mediaId' =>
$category
->
getMedia
(
)
?
$category
->
getMedia
(
)
->
getId
(
)
: null,
'link' =>
$this
->
getCategoryLink
(
$category
)
,
'streamId' =>
$productStream
?
$productStream
[
'id'
]
: null,
'productStream' =>
$productStream
,
'childrenCount' =>
$this
->
getCategoryChildrenCount
(
$category
->
getId
(
)
)
,
'description' =>
$category
->
getName
(
)
,
'metaKeywords' =>
$category
->
getMetaKeywords
(
)
,
'metaDescription' =>
$category
->
getMetaDescription
(
)
,
'cmsHeadline' =>
$category
->
getCmsHeadline
(
)
,
'cmsText' =>
$category
->
getCmsText
(
)
,
'active' => true,
'template' =>
$category
->
getTemplate
(
)
,
'blog' =>
$category
->
isBlog
(
)
,
'path' =>
$path
,
'external' =>
$category
->
getExternalLink
(
)
,
'externalTarget' =>
$category
->
getExternalTarget
(
)
,
'hideFilter' => !
$category
->
displayFacets
(
)
,
'hideTop' => !
$category
->
displayInNavigation
(
)
,
'hidetop' => !
$category
->
displayInNavigation
(
)
,
'attribute' =>
$attribute
,
'media' =>
$media
,
'description' =>
$category
->
getName
(
)
,
'link' =>
$category
->
getExternalLink
(
)
?:
$url
.
$category
->
getId
(
)
,
'flag' => false,
'subcategories' =>
[
]
,
'childrenCount' =>
$childrenCount
,
]
;
}