Neos.SiteKickstarter/Classes/Service/GeneratorService.php
protected function generateNodeTypesConfiguration($packageKey)
    {
        $templatePathAndFilename = 'resource://Neos.SiteKickstarter/Private/Generator/Configuration/NodeTypes.Document.Page.yaml';

        $contextVariables = [
            'packageKey' => $packageKey
        ];

        $fileContent = $this->renderSimpleTemplate($templatePathAndFilename, $contextVariables);

        $sitesNodeTypesPathAndFilename = $this->packageManager->getPackage($packageKey)->getConfigurationPath() . 'NodeTypes.Document.Page.yaml';
        $this->generateFile($sitesNodeTypesPathAndFilename, $fileContent);
    }
protected function generateNodeTypesConfiguration($packageKey)
    {
        $templatePathAndFilename = 'resource://Neos.SiteKickstarter/Private/Generator/Configuration/NodeTypes.Document.Page.yaml';

        $contextVariables = [
            'packageKey' => $packageKey
        ];

        $fileContent = $this->renderSimpleTemplate($templatePathAndFilename, $contextVariables);

        $sitesNodeTypesPathAndFilename = $this->packageManager->getPackage($packageKey)->getConfigurationPath() . 'NodeTypes.Document.Page.yaml';
        $this->generateFile($sitesNodeTypesPathAndFilename, $fileContent);
    }
protected function generateNodeTypesConfiguration ( $ packageKey ) { $ templatePathAndFilename = 'resource://Neos.SiteKickstarter/Private/Generator/Configuration/NodeTypes.Document.Page.yaml' ; $ contextVariables = [ 'packageKey' => $ packageKey ] ; $ fileContent = $ this -> renderSimpleTemplate ( $ templatePathAndFilename , $ contextVariables ) ; $ sitesNodeTypesPathAndFilename = $ this -> packageManager -> getPackage ( $ packageKey ) -> getConfigurationPath ( ) . 'NodeTypes.Document.Page.yaml' ; $ this -> generateFile ( $ sitesNodeTypesPathAndFilename , $ fileContent ) ; }
Generate a example NodeTypes.yaml

@param string $packageKey
@throws \Neos\FluidAdaptor\Core\Exception
Generate a example NodeTypes . yaml