0

I changed the prepare function in vendor/module-ui/Component/Form/Element/DataType/Date.php. Now I want to override it in a way that is update safe. How would I do that? Using my own module?

Magento 2.1.12

Thanks

0

You are pretty update save if a function isn't marked as deprecated.

If it's public try to use a plugin to achieve your goal.

Still each modifications needs to be reviewed when upgrading.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.