<?php
if (!defined('TYPO3')) {
  die('Access denied.');
}

use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;

ExtensionManagementUtility::addTypoScriptSetup(
  'module.tx_form {
      settings {
          yamlConfigurations {
            1681331285 = EXT:base_design/Configuration/Yaml/Finishers/GetResponse.yaml
          }
      }
  }'
);

ExtensionManagementUtility::addPageTSConfig(
    "@import 'EXT:base_design/Configuration/TSconfig/News.tsconfig'"
);

if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('form')) {
  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(trim('
        module.tx_form {
            settings {
                yamlConfigurations {
                    1727355960 = EXT:base_design/Configuration/Form/Setup.yaml
                }
            }
        }
        plugin.tx_form {
            settings {
                yamlConfigurations {
                    1727355960 = EXT:base_design/Configuration/Form/Setup.yaml
                }
            }
        }
    '));
}
