In my case, I created Blog Module and in that while getting current_blog_post from URL's id, I register it in coreRegistry and use registry to get the value in various places.

  1. register is used in Controller to get the current id while editing the form. The below code is Located in


enter image description here

  1. Similarly, the registered value is called through registry in various place such as

enter image description here

Question: Is there any other way instead of using the registry as it is deprecated?

Note: I referred in many places including atwix and in that they showed to get the values by the registry which are already registered by the core. In my case, I am using register and getting the registered value using registry.

Your Answer

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

Browse other questions tagged or ask your own question.