1

where can I find this file in Magento 2?

app/code/core/Mage/Core/Block/Abstract.php

2 Answers 2

0

You can find out it in below path

vendor/magento/framework/View/Element/AbstractBlock.php
2
  • Hi, I have added an module and requested with URL. Google automatically adding a trailing slash. Can you help me how to resolve this in magento 2? Whether to remove this or to make it work in magento 2? Mar 22, 2018 at 6:57
  • got it, thank you for finding path in magento2 Mar 22, 2018 at 7:08
0

It can be one of following.

vendor/magento/module-wishlist/Block/AbstractBlock.php
vendor/magento/module-backend/Block/AbstractBlock.php
vendor/magento/framework/View/Element/AbstractBlock.php
2
  • Hi all, I have added an module and requested with URL. Google automatically adding a trailing slash. Can anyone help me how to resolve this in magento 2? Whether to remove this or to make it work in magento 2? Mar 22, 2018 at 6:57
  • how to override defaultmode.php in magento 2.2.3 for captcha modification? Apr 1, 2018 at 12:58

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.