mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 17:27:36 +00:00
33 lines
653 B
PHP
33 lines
653 B
PHP
<?php
|
|
/**
|
|
* Google Optimizer Product Block
|
|
*
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
|
|
namespace Magento\GoogleOptimizer\Block\Code;
|
|
|
|
/**
|
|
* @api
|
|
* @since 100.0.2
|
|
*/
|
|
class Product extends \Magento\GoogleOptimizer\Block\AbstractCode implements
|
|
\Magento\Framework\DataObject\IdentityInterface
|
|
{
|
|
/**
|
|
* @var Product name in registry
|
|
*/
|
|
protected $_registryName = 'current_product';
|
|
|
|
/**
|
|
* Return identifiers for produced content
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getIdentities()
|
|
{
|
|
return $this->_getEntity()->getIdentities();
|
|
}
|
|
}
|