Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DefaultStockqty.php
Go to the documentation of this file.
1 <?php
8 
19 class DefaultStockqty extends AbstractStockqty implements \Magento\Framework\DataObject\IdentityInterface
20 {
26  protected function _toHtml()
27  {
28  if (!$this->isMsgVisible()) {
29  return '';
30  }
31  return parent::_toHtml();
32  }
33 
39  public function getIdentities()
40  {
41  return $this->getProduct()->getIdentities();
42  }
43 }