Configuration/FormConfigurationFactory.php
public function buildByDynamic(Dynamic $dynamic)
    {
        $config = $this->create($dynamic->getLocale());
        $config->setFileFields($this->getFileFieldsByDynamic($dynamic));

        $adminMailConfiguration = $this->buildAdminMailConfigurationByDynamic($dynamic);
        $websiteMailConfiguration = $this->buildWebsiteMailConfigurationByDynamic($dynamic);

        $config->setAdminMailConfiguration($adminMailConfiguration);
        $config->setWebsiteMailConfiguration($websiteMailConfiguration);

        return $config;
    }
public function buildByDynamic(Dynamic $dynamic)
    {
        $config = $this->create($dynamic->getLocale());
        $config->setFileFields($this->getFileFieldsByDynamic($dynamic));

        $adminMailConfiguration = $this->buildAdminMailConfigurationByDynamic($dynamic);
        $websiteMailConfiguration = $this->buildWebsiteMailConfigurationByDynamic($dynamic);

        $config->setAdminMailConfiguration($adminMailConfiguration);
        $config->setWebsiteMailConfiguration($websiteMailConfiguration);

        return $config;
    }
Build by dynamic entity.

@param Dynamic $dynamic

@return FormConfigurationInterface