Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
text.phtml File Reference

Go to the source code of this file.

Variables

 $attributes = $block->getCssClass() ? ' class="' . $block->getCssClass() . '"' : ''
 
 $attr = $block->getAttributes()
 
 if (!empty( $attr))
 

Variable Documentation

◆ $attr

$attr = $block->getAttributes()

Definition at line 8 of file text.phtml.

◆ $attributes

$attributes = $block->getCssClass() ? ' class="' . $block->getCssClass() . '"' : ''

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 7 of file text.phtml.

◆ if

if(!empty($attr))

Definition at line 9 of file text.phtml.