Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function loadByCode(\Magento\Framework\Model\AbstractModel $object, $entityTypeId, $code)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'loadByCode');
     if (!$pluginInfo) {
         return parent::loadByCode($object, $entityTypeId, $code);
     } else {
         return $this->___callPlugins('loadByCode', func_get_args(), $pluginInfo);
     }
 }