Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
compare.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
9 ?>
10 <a href="#"
11  class="action tocompare"
12  title="<?= $block->escapeHtml(__('Add to Compare')) ?>"
13  aria-label="<?= $block->escapeHtml(__('Add to Compare')) ?>"
14  data-post='<?= /* @escapeNotVerified */ $block->getCompareHelper()->getPostDataParams($block->getProduct()) ?>'
15  role="button">
16  <span><?= /* @escapeNotVerified */ __('Add to Compare') ?></span>
17 </a>
__()
Definition: __.php:13