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
module-config
Model
Config
Backend
Admin
Custompath.php
Go to the documentation of this file.
1
<?php
12
namespace
Magento\Config\Model\Config\Backend\Admin
;
13
18
class
Custompath
extends
\Magento\Framework\App\Config\Value
19
{
25
public
function
beforeSave
()
26
{
27
if
($this->
getOldValue
() != $this->getValue()) {
28
$this->_registry->register(
'custom_admin_path_redirect'
,
true
,
true
);
29
}
30
return
$this;
31
}
32
}
Magento\Framework\App\Config\Value\getOldValue
getOldValue()
Definition:
Value.php:94
Magento\Config\Model\Config\Backend\Admin
Definition:
RobotsTest.php:6
Magento\Config\Model\Config\Backend\Admin\Custompath
Definition:
Custompath.php:18
Magento\Config\Model\Config\Backend\Admin\Custompath\beforeSave
beforeSave()
Definition:
Custompath.php:25