Files

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();
}
}