-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add method to check if module is already registered #2406
Comments
it's already added |
Where? :) |
This is private, I can not use it from other modules / outside world to check which modules have been registered already. That was my point: I wanted to check in |
You're right. It was meant for internal use to avoid dependencys over modules but it can easly be moved outside and exported. Will do it along with factory method refactor ok? |
Perfect! |
What is the motivation for adding / enhancing this feature?
We don't have a public method in
VueStorefrontModule
interface to check if the module has been already registered + list the registered modules.It could be useful. For example, I wanted to check in
payment-backend-methods
if the ``payment-cash-on-delivery` has been registered and there was no way to do soThe text was updated successfully, but these errors were encountered: