Category

categoriesTree

Parametros

Variable Tipo Por defecto Requerido
categories SDKCoreDtosElementCollection null true
showImage string FWK/ViewHelpers/Category/Macro/CategoriesTree::SHOW_IMAGE_NONE false
Valores disponibles

FWK/ViewHelpers/Category/Macro/CategoriesTree::SHOW_IMAGE_BACKGROUND_IMAGE



FWK/ViewHelpers/Category/Macro/CategoriesTree::SHOW_IMAGE_BEFORE_NAME



FWK/ViewHelpers/Category/Macro/CategoriesTree::SHOW_IMAGE_AFTER_NAME



FWK/ViewHelpers/Category/Macro/CategoriesTree::SHOW_IMAGE_NONE



Ejemplo


{% import macrosCore.category as categoryMacros %}
{{ categoryMacros.categoriesTree({
showImage: constant('FWKViewHelpersCategoryMacroCategoriesTree::SHOW_IMAGE_BEFORE_NAME'),
categories: categories
}) }}

Relacionados

macros/modes/{{coreMode}}/category/categoriesTree.html.twig

View Helper

FWK/ViewHelpers/Category/Macro/CategoriesTree.php

richSnippets

Parametros

Variable Tipo Por defecto Requerido
richSnippets SDKDtosSnippetsCategoryRichSnippets null true

Ejemplo


{% import macrosCore.category as categoryMacro %}
{{ categoryMacros.richSnippets({
richSnippets: categoryRichSnippets
}) }}

Relacionados

macros/modes/{{coreMode}}/category/richSnippets.html.twig

View Helper

FWK/ViewHelpers/Category/Macro/RichSnippets.php