I've enabled template hints and block hints. I get this template path /vendor/magento/module-customer/view/frontend/templates/account/dashboard/info.phtml which has this block class Magento\Customer\Block\Account\Dashboard\Info.

Where can I find the code for the block class?

2 Answers 2


You can find the Info.php on the below path.


You can override the block file in your custom module with the help of preference. Please visit this link for more information regarding the block overriding.

And info.phtml under below path:


You can override this template in your custom theme under the below path:


Hope it helps!!!


You can check this file's Block here


You can override this in your Custom module here


Hope this will help you!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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