Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
search_terms_log.phtml
Go to the documentation of this file.
1 <?php
6 // @codingStandardsIgnoreFile
7 ?>
8 <?php if ($block->getSearchTermsLog()->isPageCacheable()): ?>
9  <script type="text/x-magento-init">
10  {
11  "*": {
12  "Magento_CatalogSearch/js/search-terms-log": {
13  "url": "<?= /* @escapeNotVerified */ $block->getUrl('catalogsearch/searchTermsLog/save') ?>"
14  }
15  }
16  }
17 </script>
18 <?php endif; ?>
if($block->getSearchTermsLog() ->isPageCacheable()) endif
$block
Definition: block.php:8