/**
  * @param array $row
  * @return string
  */
 public function getTemplatePathAndFilename(array $row)
 {
     $extensionKey = $this->getExtensionKey($row);
     $variant = $this->getVariant($row);
     $version = $this->getVersion($row);
     $registeredTypes = (array) $GLOBALS['TYPO3_CONF_VARS']['FluidTYPO3.FluidcontentCore']['types'];
     $templateName = TRUE === in_array($row['CType'], $registeredTypes) ? $row['CType'] : 'default';
     $template = $this->configurationService->resolveTemplateFileForVariant($extensionKey, $templateName, $variant, $version);
     return $template;
 }