Skip to content

Refactor AbstractMenuHelper and its children classes to use constructor injection and Autowiring#5073

Open
sambhavp96 wants to merge 2 commits intovufind-org:dev-12.0from
sambhavp96:modernize-abstract-menu-helper
Open

Refactor AbstractMenuHelper and its children classes to use constructor injection and Autowiring#5073
sambhavp96 wants to merge 2 commits intovufind-org:dev-12.0from
sambhavp96:modernize-abstract-menu-helper

Conversation

@sambhavp96
Copy link
Contributor

No description provided.

Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sambhavp96, I was struggling to understand why things were working even though the factory for AdminMenu was not injecting the right dependencies -- and then I realized that AbstractMenuHelper, AccountMenu, and AdminMenu were all deprecated in release 11.1 and are no longer used at all in this branch. These three helpers (and associated factories) should simply be deleted here. Sorry for not realizing this sooner!

Is it intentional that the Context helper is also included in this PR? Would it make sense to open a separate PR to delete the deprecated files, and then repurpose this one into a Context helper modernization?

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.

2 participants