Here, we have described how to check whether the current area is frontend or backend
Well, you can check it with object manager
1 2 3 |
$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $areastate = $objectManager->get('Magento\Framework\App\State'); echo $areastate->getAreaCode(); |
so it will show you that the current area is frontend or adminhtml
If you want get query string params in controller file,...
Create di.xml and add the below code Magemonkey/Redirect/etc/frontend/di.xml [crayon-628377a11e6b9306605158/] Create...
You can try below code to change local date to...
Step 1: First you need to add registration.php file in...
Step1 : Override message.js in current theme file on the...