FluidTYPO3\Fluidpages\Backend\BackendLayoutDataProvider::encodeTypoScriptArray PHP Method

encodeTypoScriptArray() protected method

protected encodeTypoScriptArray ( array $configuration ) : string
$configuration array
return string
    protected function encodeTypoScriptArray(array $configuration)
    {
        $configuration = $this->ensureDottedKeys($configuration);
        $typoScriptParser = new ExtendedTemplateService();
        $typoScriptParser->flattenSetup($configuration, 'backend_layout.', false);
        $string = '';
        foreach ($typoScriptParser->flatSetup as $name => $value) {
            $string .= $name . ' = ' . $value . LF;
        }
        return $string;
    }