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
view
frontend
templates
text.phtml
Go to the documentation of this file.
1
<?php
7
$attributes
=
$block
->getCssClass() ?
' class="'
.
$block
->getCssClass() .
'"'
:
''
;
8
$attr
=
$block
->getAttributes();
9
if
(!empty(
$attr
)) {
10
foreach
(
$block
->getAttributes() as
$attribute
=>
$value
) {
11
$attributes
.=
' '
.
$attribute
.
'="'
.
$value
.
'"'
;
12
}
13
};
14
echo
15
'<'
.
$block
->getTag() .
$attributes
.
'>'
.
$block
->getText() .
'</'
.
$block
->getTag() .
'>'
;
$attr
$attr
Definition:
text.phtml:8
$attribute
$attribute
Definition:
attribute_set_with_image_attribute.php:41
$block
$block
Definition:
block.php:8
$value
$value
Definition:
gender.phtml:16
$attributes
$attributes
Definition:
text.phtml:7