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 #1337

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

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