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-catalog
Block
Adminhtml
Product
Edit
Button
Back.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Catalog\Block\Adminhtml\Product\Edit\Button
;
7
11
class
Back
extends
Generic
12
{
16
public
function
getButtonData
()
17
{
18
return
[
19
'label'
=>
__
(
'Back'
),
20
'on_click'
=> sprintf(
"location.href = '%s';"
, $this->
getUrl
(
'*/*/'
)),
21
'class'
=>
'back'
,
22
'sort_order'
=> 10
23
];
24
}
25
}
Magento\Catalog\Block\Adminhtml\Product\Edit\Button\Back\getButtonData
getButtonData()
Definition:
Back.php:16
Magento\Catalog\Block\Adminhtml\Product\Edit\Button
Definition:
AddAttribute.php:6
Magento\Catalog\Block\Adminhtml\Product\Edit\Button\Generic
Definition:
Generic.php:16
__
__()
Definition:
__.php:13
Magento\Catalog\Block\Adminhtml\Product\Edit\Button\Back
Definition:
Back.php:11
Magento\Catalog\Block\Adminhtml\Product\Edit\Button\Generic\getUrl
getUrl($route='', $params=[])
Definition:
Generic.php:53