Ejemplo n.º 1
0
 /**
  * Return block style
  *
  * @return string
  */
 protected function getBlockStyle()
 {
     $style = parent::getBlockStyle() . ' attributes';
     if ($this->isAllowVaraintAdd()) {
         $style .= ' checked';
     }
     if ($this->getVariantsAttributes()) {
         $style .= ' hidden';
     }
     return $style;
 }
Ejemplo n.º 2
0
 /**
  * Return block style
  *
  * @return string
  */
 protected function getBlockStyle()
 {
     return parent::getBlockStyle() . ' variants-are-based';
 }
Ejemplo n.º 3
0
 /**
  * Return block style
  *
  * @return string
  */
 protected function getBlockStyle()
 {
     return parent::getBlockStyle() . ' no-attributes';
 }