PHP code example of feskol / navigation-bundle
1. Go to this page and download the library: Download feskol/navigation-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
feskol / navigation-bundle example snippets
return [
// ...
Feskol\Bundle\NavigationBundle\FeskolNavigationBundle::class => ['all' => true],
];
yaml
# config/packages/feskol_navigation.yaml
feskol_navigation:
# Change the default template
#template: 'my-navigation-template.html.twig'
# Default render active links as normal link-tags instead of span-tag
#active_as_link: true