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
CreateCategory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Catalog\Block\Adminhtml\Product\Edit\Button
;
7
11
class
CreateCategory
extends
Generic
12
{
16
public
function
getButtonData
()
17
{
18
return
[
19
'label'
=>
__
(
'Create Category'
),
20
'class'
=>
'save primary'
,
21
'data_attribute'
=> [
22
'mage-init'
=> [
'button'
=> [
'event'
=>
'save'
]],
23
'form-role'
=>
'save'
,
24
],
25
'sort_order'
=> 10
26
];
27
}
28
}
Magento\Catalog\Block\Adminhtml\Product\Edit\Button
Definition:
AddAttribute.php:6
Magento\Catalog\Block\Adminhtml\Product\Edit\Button\Generic
Definition:
Generic.php:16
Magento\Catalog\Block\Adminhtml\Product\Edit\Button\CreateCategory
Definition:
CreateCategory.php:11
__
__()
Definition:
__.php:13
Magento\Catalog\Block\Adminhtml\Product\Edit\Button\CreateCategory\getButtonData
getButtonData()
Definition:
CreateCategory.php:16