/**
* get type by dynamic field config entity
*
* @param ConfigEntity $config dynamic field config entity
* @return AbstractType
*/
public function getByConfig(ConfigEntity $config)
{
$type = $this->registerHandler->getType($this, $config->get('typeId'));
$type->setConfig($config);
$skin = $this->registerHandler->getSkin($this, $config->get('skinId'));
$skin->setConfig($config);
$type->setSkin($skin);
return $type;
}