/**
  * @param ChannelInterface $channel
  * @param string $configuration
  * @param array $data
  *
  * @return FormInterface
  */
 private function createConfigurationFieldForChannel(ChannelInterface $channel, $configuration, array $data)
 {
     $config = ['auto_initialize' => false, 'label' => $channel->getName(), 'currency' => $channel->getBaseCurrency()->getCode()];
     $data = empty($data) ? $data : $data[$channel->getCode()];
     return $this->factory->createNamed($channel->getCode(), $configuration, $data, $config);
 }