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
Attribute
Button
SaveInNewAttributeSet.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Catalog\Block\Adminhtml\Product\Attribute\Button
;
7
8
class
SaveInNewAttributeSet
extends
Generic
9
{
15
public
function
getButtonData
()
16
{
17
return
[
18
'label'
=>
__
(
'Save in New Attribute Set'
),
19
'data_attribute'
=> [
20
'mage-init'
=> [
21
'buttonAdapter'
=> [
22
'actions'
=> [
23
[
24
'targetName'
=>
'product_attribute_add_form.product_attribute_add_form'
,
25
'actionName'
=>
'saveAttributeInNewSet'
26
],
27
]
28
]
29
]
30
],
31
'on_click'
=>
''
32
];
33
}
34
}
Magento\Catalog\Block\Adminhtml\Product\Attribute\Button\SaveInNewAttributeSet
Definition:
SaveInNewAttributeSet.php:8
__
__()
Definition:
__.php:13
Magento\Catalog\Block\Adminhtml\Product\Attribute\Button\Generic
Definition:
Generic.php:16
Magento\Catalog\Block\Adminhtml\Product\Attribute\Button
Definition:
Cancel.php:6
Magento\Catalog\Block\Adminhtml\Product\Attribute\Button\SaveInNewAttributeSet\getButtonData
getButtonData()
Definition:
SaveInNewAttributeSet.php:15