/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->factory = Forms::createFormFactoryBuilder()->addTypeExtension($this->createValidatorExtension())->addTypeGuesser($this->getMockValidatorTypeGuesser())->addTypes(array(new TagType()))->getFormFactory(); $this->builder = $this->createFormBuilder(); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->factory = Forms::createFormFactoryBuilder()->addTypes(array(new KeyValueRowType(), new KeyValueType()))->getFormFactory(); $this->builder = $this->createFormBuilder(); }