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

ENH Use config instead of runtime code to remove menu item #342

Merged

Conversation

GuySartorelli
Copy link
Member

Quick tidyup to use the ignore_menuitem configuration property instead of removing the menu item at runtime.

Can't refactor to use AdminController instead of LeftAndMain yet because it needs formschema - but this small refactor will make that slightly easier when I come to it.

Issue

@GuySartorelli
Copy link
Member Author

CI failure is unrelated

@emteknetnz emteknetnz merged commit a17c038 into silverstripe:5 Oct 20, 2024
12 of 14 checks passed
@emteknetnz emteknetnz deleted the pulls/5/config-not-runtime branch October 20, 2024 22:55
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

Successfully merging this pull request may close these issues.

3 participants