Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $om = MagentoFrameworkAppObjectManager::getInstance();
- $area = $om->get('MagentoFrameworkAppState');
- $areaCode= $area->getAreaCode();
- [MagentoFrameworkExceptionLocalizedException]
- Area code is not set
Add Comment
Please, Sign In to add comment