Beispiel #1
0
 /**
  * @param SelectLayoutEvent $event
  */
 public function selectLayout(SelectLayoutEvent $event)
 {
     $widget = $event->getWidget();
     if ($this->isPartOfModalFooter($widget)) {
         $event->setLayout('bootstrap_hidden');
     }
 }
 /**
  * @param SelectLayoutEvent $event
  */
 public function selectLayout(SelectLayoutEvent $event)
 {
     if (Bootstrap::isEnabled()) {
         $event->setLayout('bootstrap');
     }
 }