Last active
December 29, 2015 03:49
-
-
Save crynobone/7610646 to your computer and use it in GitHub Desktop.
Append Menu to Orchestra Platform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$menu = Orchestra\App::menu(); | |
$menu->add('foo', '>:home') | |
->link('path/foo') | |
->title('Foobar'); | |
/* | |
Position | |
<:id = before the id | |
>:id = after the id | |
^:id = child of the id. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
great work.