예제 #1
0
 /**
  * @param \Magento\Framework\DataObject|TabInterface $tab
  * @return string
  */
 public function getTabContent($tab)
 {
     if ($tab instanceof TabInterface) {
         if ($tab->getSkipGenerateContent()) {
             return '';
         }
         return $tab->toHtml();
     }
     return $tab->getContent();
 }