QWp6t
April 16, 2017, 6:33am
10
I don’t know how my NavWalkers stack up against what’s already out there. I wrote these for my specific needs in two different projects, and they worked for me. Neither were intended for wider distribution, but here you go anyway. One is for Bootstrap and the other is for Foundation.
Bootstrap.php
<?php namespace App\NavWalker;
use Roots\Soil\Nav\NavWalker as SoilNavWalker;
/**
* @author QWp6t
* @license OSL-3.0
*/
class Bootstrap extends SoilNavWalker
{
This file has been truncated. show original
Foundation.php
<?php namespace App\NavWalker;
use Roots\Soil\Nav\NavWalker as SoilNavWalker;
/**
* @author QWp6t
* @license OSL-3.0
*/
class Foundation extends SoilNavWalker
{
This file has been truncated. show original
LICENSE.md
# [Open Software License ("OSL") v. 3.0](https://opensource.org/licenses/OSL-3.0)
This Open Software License (the "License") applies to any original work of
authorship (the "Original Work") whose owner (the "Licensor") has placed the
following licensing notice adjacent to the copyright notice for the Original
Work:
Licensed under the Open Software License version 3.0
1. **Grant of Copyright License.** Licensor grants You a worldwide,
This file has been truncated. show original
4 Likes