public function getContentConfiguration($extensionName = NULL) { if (NULL !== $extensionName) { return $this->getViewConfigurationForExtensionName($extensionName); } $registeredExtensionKeys = (array) Core::getRegisteredProviderExtensionKeys('Content'); $configuration = array(); foreach ($registeredExtensionKeys as $registeredExtensionKey) { $configuration[$registeredExtensionKey] = $this->getContentConfiguration($registeredExtensionKey); } return $configuration; }
/** * @param array $row * @return array */ public function getTemplatePaths(array $row) { $extensionName = $this->getExtensionKey($row); $paths = $this->configurationService->getContentConfiguration($extensionName); if (TRUE === is_array($paths) && FALSE === empty($paths)) { $paths = PathUtility::translatePath($paths); } return $paths; }