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
html
title.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
12
$cssClass
=
$block
->getCssClass() ?
' '
.
$block
->getCssClass() :
''
;
13
$title
=
''
;
14
if
(trim(
$block
->getPageHeading())) {
15
$title
=
'<span class="base" data-ui-id="page-title-wrapper" '
.
$block
->getAddBaseAttribute() .
'>'
16
.
$block
->escapeHtml(
$block
->getPageHeading()) .
'</span>'
;
17
}
18
?>
19
<?php
if
(
$title
): ?>
20
<div
class
=
"page-title-wrapper<?= /* @escapeNotVerified */ $cssClass ?>"
>
21
<h1
class
=
"page-title"
22
<?php
if
(
$block
->getId()): ?>
id
=
"<?= /* @escapeNotVerified */ $block->getId() ?>"
<?php
endif
; ?>
23
<?php
if
(
$block
->getAddBaseAttributeAria()): ?>
24
aria-labelledby=
"<?= /* @escapeNotVerified */ $block->getAddBaseAttributeAria() ?>"
25
<?php
endif
; ?>>
26
<?=
/* @escapeNotVerified */
$title
?>
27
</h1>
28
<?=
$block
->getChildHtml() ?>
29
</div>
30
<?php
endif
; ?>
$title
$title
Definition:
title.phtml:14
$block
$block
Definition:
block.php:8
$cssClass
$cssClass
Definition:
title.phtml:12
endif
$_labelsforeach( $block->getStores() as $_store)() ?></span ></label >< div class endif
Definition:
title.phtml:12