Skip to content
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

Automatically set BackendMenu context from controller path #1269

Open
LukeTowers opened this issue Dec 7, 2024 · 0 comments
Open

Automatically set BackendMenu context from controller path #1269

LukeTowers opened this issue Dec 7, 2024 · 0 comments

Comments

@LukeTowers
Copy link
Member

It would be nice if the base Backend\Classes\Controller class set BackendMenu::setContext($author.$plugin, $plugin, $controller) in the constructor so that backend controller classes didn't have to explicitly call set context if their navigation followed the standard.

Also adjust the scaffolding to reflect that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant