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
Edit
Tabs.php
Go to the documentation of this file.
1
<?php
12
namespace
Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit
;
13
18
class
Tabs
extends
\Magento\Backend\Block\Widget\Tabs
19
{
23
protected
function
_construct
()
24
{
25
parent::_construct();
26
$this->setId(
'product_attribute_tabs'
);
27
$this->
setDestElementId
(
'edit_form'
);
28
$this->setTitle(
__
(
'Attribute Information'
));
29
}
30
34
protected
function
_beforeToHtml
()
35
{
36
$this->
addTab
(
37
'main'
,
38
[
39
'label'
=>
__
(
'Properties'
),
40
'title'
=>
__
(
'Properties'
),
41
'content'
=> $this->
getChildHtml
(
'main'
),
42
'active'
=>
true
43
]
44
);
45
$this->
addTab
(
46
'labels'
,
47
[
48
'label'
=>
__
(
'Manage Labels'
),
49
'title'
=>
__
(
'Manage Labels'
),
50
'content'
=> $this->
getChildHtml
(
'labels'
)
51
]
52
);
53
$this->
addTab
(
54
'front'
,
55
[
56
'label'
=>
__
(
'Storefront Properties'
),
57
'title'
=>
__
(
'Storefront Properties'
),
58
'content'
=> $this->
getChildHtml
(
'front'
)
59
]
60
);
61
62
return
parent::_beforeToHtml();
63
}
64
}
__
__()
Definition:
__.php:13
Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tabs\_construct
_construct()
Definition:
Tabs.php:23
Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit
Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tabs
Definition:
Tabs.php:18
Magento\Backend\Block\Widget\Tabs\addTab
addTab($tabId, $tab)
Definition:
Tabs.php:115
Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tabs\_beforeToHtml
_beforeToHtml()
Definition:
Tabs.php:34
Magento\Backend\Block\Widget\Tabs\setDestElementId
setDestElementId($elementId)
Definition:
Tabs.php:86
Magento\Framework\View\Element\AbstractBlock\getChildHtml
getChildHtml($alias='', $useCache=true)
Definition:
AbstractBlock.php:497