Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RequireCookie.php
Go to the documentation of this file.
1 <?php
10 namespace Magento\Cookie\Block;
11 
17 {
23  public function getScriptOptions()
24  {
25  $params = [
26  'noCookieUrl' => $this->escapeUrl($this->getUrl('cookie/index/noCookies/')),
27  'triggers' => $this->escapeHtml($this->getTriggers())
28  ];
29  return json_encode($params);
30  }
31 }
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]
Definition: website.php:18