darvinstudio/darvin-menu-bundle
Compatibility with Content bundle 9.
Implement Doctrine behaviors interfaces.
Implement Doctrine behaviors interfaces.
Validate builder's "menu" option.
Use single menu builder for all menus.
Rename "menu alias" to "menu name".
Rename entities.
Move slug map object loader to Content bundle.
Move slug map item to array admin form data transformer to Content bundle.
Remove unsupported ar, fr, zh translations.
Rename "item factory pool" => "item factory registry".
Replace "slug_map_item_link" admin view widget with the "slug_map_item" one from Content bundle.
Remove hover image property from menu entry entity.
Add menu entry entity interface.
Rename "item factory" => "KNP item factory".
Replace menu configuration service with menu provider registry one.
Add "menu_title" admin view widget.
{{ knp_menu_render(knp_menu_get('darvin_menu_top')) }}
equals to
{{ knp_menu_render(knp_menu_get('darvin_menu', [], {'menu': 'top'})) }}
but in the last case alias may be defined in runtime.
Extract JSON renderer data collector service.
Make private JsonRenderer::toArray() protected.
Replace JSON renderer interface with KNP menu's one.
Register "json" KNP menu renderer.
Add "renderer" argument to menu controller.
Allow to cache menus.
{# Default breadcrumbs, block "title" will be used as fallback crumb. #}
{{ darvin_menu_breadcrumbs(block('title')) }}
{# Add custom item to the end of breadcrumbs. #}
{{ darvin_menu_breadcrumbs(block('title'), null, null, {(catalog.extraCrumb): null}) }}
{# Add custom item to the beginning of breadcrumbs. #}
{{ darvin_menu_breadcrumbs(block('title'), {'checkout.checkout.breadcrumbs.cart': path('darvin_ecommerce_cart_item')}) }}
Refactor JSON renderer.
Add "darvin_menu_json()" Twig function:
{% set header_menu = knp_menu_get('darvin_menu_header', [], {'depth': 2}) %}
{{ darvin_menu_json(header_menu) }}
Configure override functionality.
Register interfaces for autoconfiguration.
Use "object" type hint.
Move service configs to "services" dir.
Replace "empty()" calls with null comparisons.
Change positions of admin menu items.
How can I help you explore Laravel packages today?