public function preSetData(FormEvent $event)
{
$action = $event->getData();
if (null === ($type = $this->getRegistryIdentifier($action, $event->getForm()))) {
return;
}
$this->addConfigurationFields($event->getForm(), $type, $this->getConfiguration($action));
}