protected generateNodeTypesConfiguration ( string $packageKey ) : void | ||
$packageKey | string | |
return | void |
protected function generateNodeTypesConfiguration($packageKey)
{
$templatePathAndFilename = 'resource://Neos.SiteKickstarter/Private/Generator/Configuration/NodeTypes.yaml';
$fileContent = file_get_contents($templatePathAndFilename);
$sitesTypoScriptPathAndFilename = $this->packageManager->getPackage($packageKey)->getConfigurationPath() . 'NodeTypes.yaml';
$this->generateFile($sitesTypoScriptPathAndFilename, $fileContent);
}