Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
second_store_rollback.php
Go to the documentation of this file.
1 <?php
9 
10 $registry->unregister('isSecureArea');
11 $registry->register('isSecureArea', true);
12 
15 $store->load('fixture_second_store');
16 
17 if ($store->getId()) {
18  $store->delete();
19 }
20 
21 $registry->unregister('isSecureArea');
22 $registry->register('isSecureArea', false);