8000 Menu improvements by simonhamp · Pull Request #423 · NativePHP/laravel · GitHub
[go: up one dir, main page]

Skip to content

Menu improvements #423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Dec 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove custom event menu item type
  • Loading branch information
simonhamp committed Nov 20, 2024
commit 7c1cca5b8df2d1924cc46ca596a07b3854e70a04
17 changes: 0 additions & 17 deletions src/Menu/Items/Event.php

This file was deleted.

5 changes: 0 additions & 5 deletions src/Menu/MenuBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ public function radio(string $label, bool $checked = false, ?string $hotkey = nu
return new Items\Radio($label, $checked, $hotkey);
}

public function event(string $event, ?string $label = null, ?string $hotkey = null): Items\Event
{
return new Items\Event($event, $label, $hotkey);
}

public function link(string $url, ?string $label = null, ?string $hotkey = null): Items\Link
{
return new Items\Link($url, $label, $hotkey);
Expand Down
0