Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
integration
testsuite
Magento
CatalogUrlRewrite
Fixtures
product_custom_url_key_rollback.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
use
Magento\Framework\Registry
;
9
use
Magento\TestFramework\Helper\Bootstrap
;
10
11
$objectManager
= Bootstrap::getObjectManager();
12
14
$registry
=
$objectManager
->get(Registry::class);
15
$registry
->unregister(
'isSecureArea'
);
16
$registry
->register(
'isSecureArea'
,
true
);
17
18
require
__DIR__
.
'/../_files/product_with_category_rollback.php'
;
19
20
$registry
->unregister(
'isSecureArea'
);
21
$registry
->register(
'isSecureArea'
,
false
);
$objectManager
$objectManager
Definition:
product_custom_url_key_rollback.php:11
Magento\TestFramework\Helper\Bootstrap
Definition:
Bootstrap.php:12
__DIR__
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition:
_bootstrap.php:60
$registry
$registry
Definition:
product_custom_url_key_rollback.php:14
Magento\Framework\Registry
Definition:
Registry.php:18