コード例 #1
0
 /**
  * Return form HTML
  *
  * @return string
  */
 public function getFormHtml()
 {
     $formHtml = parent::getFormHtml();
     if (!$this->_storeManager->isSingleStoreMode() && $this->getWebhook()->getId()) {
         $formHtml = $formHtml;
     }
     return $formHtml;
 }
コード例 #2
0
ファイル: Edit.php プロジェクト: Atlis/docker-magento2
 /**
  * Prepare form Html. Add block for configurable product modification interface.
  *
  * @return string
  */
 public function getFormHtml()
 {
     $html = parent::getFormHtml();
     $html .= $this->getLayout()->createBlock('Magento\\Catalog\\Block\\Adminhtml\\Product\\Composite\\Configure')->toHtml();
     return $html;
 }