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-theme
Model
Design
Theme
Label.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Theme\Model\Design\Theme
;
7
8
class
Label
extends
\Magento\Framework\View\Design\Theme\Label
9
{
16
public
function
getLabelsCollection
(
$label
=
false
)
17
{
18
$options
= parent::getLabelsCollection();
19
if
(
$label
) {
20
array_unshift(
$options
, [
'value'
=> 0,
'label'
=>
$label
]);
21
}
22
return
$options
;
23
}
24
}
Magento\Theme\Model\Design\Theme
Definition:
Label.php:6
Magento\Framework\View\Design\Theme\Label
Definition:
Label.php:12
$label
$label
Definition:
details.phtml:21
Magento\Theme\Model\Design\Theme\Label
Definition:
Label.php:8
Magento\Theme\Model\Design\Theme\Label\getLabelsCollection
getLabelsCollection($label=false)
Definition:
Label.php:16
$options
$options
Definition:
multiple_mixed_products.php:29