public function getFlexformConfiguration($layoutId)
    {
        $layoutSetup = $this->getLayoutSetup($layoutId);
        // Get flexform file from pi_flexform_ds if pi_flexform_ds_file not set and "FILE:" found in pi_flexform_ds for backward compatibility.
        if ($layoutSetup['pi_flexform_ds_file']) {
            $flexformConfiguration = GeneralUtility::getUrl(GeneralUtility::getFileAbsFileName($layoutSetup['pi_flexform_ds_file']));
        } elseif (strpos($layoutSetup['pi_flexform_ds'], 'FILE:') === 0) {
            $flexformConfiguration = GeneralUtility::getUrl(GeneralUtility::getFileAbsFileName(substr(
                $layoutSetup['pi_flexform_ds'],
                5
            )));
        } elseif ($layoutSetup['pi_flexform_ds']) {
            $flexformConfiguration = $layoutSetup['pi_flexform_ds'];
        } else {
            $flexformConfiguration = GeneralUtility::getUrl(GeneralUtility::getFileAbsFileName($this->flexformConfigurationPathAndFileName));
        }

        return $flexformConfiguration;
    }
public function getFlexformConfiguration($layoutId)
    {
        $layoutSetup = $this->getLayoutSetup($layoutId);
        // Get flexform file from pi_flexform_ds if pi_flexform_ds_file not set and "FILE:" found in pi_flexform_ds for backward compatibility.
        if ($layoutSetup['pi_flexform_ds_file']) {
            $flexformConfiguration = GeneralUtility::getUrl(GeneralUtility::getFileAbsFileName($layoutSetup['pi_flexform_ds_file']));
        } elseif (strpos($layoutSetup['pi_flexform_ds'], 'FILE:') === 0) {
            $flexformConfiguration = GeneralUtility::getUrl(GeneralUtility::getFileAbsFileName(substr(
                $layoutSetup['pi_flexform_ds'],
                5
            )));
        } elseif ($layoutSetup['pi_flexform_ds']) {
            $flexformConfiguration = $layoutSetup['pi_flexform_ds'];
        } else {
            $flexformConfiguration = GeneralUtility::getUrl(GeneralUtility::getFileAbsFileName($this->flexformConfigurationPathAndFileName));
        }

        return $flexformConfiguration;
    }
public function getFlexformConfiguration ( $ layoutId ) { $ layoutSetup = $ this -> getLayoutSetup ( $ layoutId ) ; // Get flexform file from pi_flexform_ds if pi_flexform_ds_file not set and "FILE:" found in pi_flexform_ds for backward compatibility. if ( $ layoutSetup [ 'pi_flexform_ds_file' ] ) { $ flexformConfiguration = GeneralUtility :: getUrl ( GeneralUtility :: getFileAbsFileName ( $ layoutSetup [ 'pi_flexform_ds_file' ] ) ) ; } elseif ( strpos ( $ layoutSetup [ 'pi_flexform_ds' ] , 'FILE:' ) === 0 ) { $ flexformConfiguration = GeneralUtility :: getUrl ( GeneralUtility :: getFileAbsFileName ( substr ( $ layoutSetup [ 'pi_flexform_ds' ] , 5 ) ) ) ; } elseif ( $ layoutSetup [ 'pi_flexform_ds' ] ) { $ flexformConfiguration = $ layoutSetup [ 'pi_flexform_ds' ] ; } else { $ flexformConfiguration = GeneralUtility :: getUrl ( GeneralUtility :: getFileAbsFileName ( $ this -> flexformConfigurationPathAndFileName ) ) ; } return $ flexformConfiguration ; }
Returns the FlexForm configuration of a grid layout

@param string $layoutId The current layout ID of the grid container

@return string
Returns the FlexForm configuration of a grid layout