/**
  * {@inheritdoc}
  */
 protected function getFieldset(FormBuilderInterface $builder, FormInterface $form) : FieldsetInterface
 {
     $boxTypeSelect = $this->getBoxTypeSelect($form);
     $boxTypeSelect->addOptionToSelect($this->type, $this->type);
     $fieldset = $form->addChild($builder->getElement('nested_fieldset', ['name' => $this->getType(), 'label' => $this->trans('layout_box.label.settings'), 'dependencies' => [$builder->getDependency('show', ['field' => $boxTypeSelect, 'condition' => new Equals($this->type), 'form' => $form])]]));
     return $fieldset;
 }