/**
  * @param array $configs
  * @param EventDispatcherInterface $eventDispatcher
  */
 public function __construct(array $configs, EventDispatcherInterface $eventDispatcher)
 {
     $this->configs = $configs;
     $this->eventDispatcher = $eventDispatcher;
     $this->disableWidgets();
     parent::__construct($this->configs, $eventDispatcher);
 }