Skip to content

Commit

Permalink
[BUGFIX] Don't indent TypoScript
Browse files Browse the repository at this point in the history
  • Loading branch information
eliashaeussler committed Nov 14, 2024
1 parent 60923e5 commit 61cb7de
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions Classes/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,32 +92,32 @@ public static function registerPageTsConfig(): void
public static function registerTypoScript(): void
{
Core\Utility\ExtensionManagementUtility::addTypoScriptSetup('
module.tx_warming {
view {
templateRootPaths {
0 = EXT:warming/Resources/Private/Templates/
10 = {$module.tx_warming.view.templateRootPath}
}
partialRootPaths {
0 = EXT:warming/Resources/Private/Partials/
10 = {$module.tx_warming.view.partialRootPath}
}
}
}
module.tx_warming {
view {
templateRootPaths {
0 = EXT:warming/Resources/Private/Templates/
10 = {$module.tx_warming.view.templateRootPath}
}
partialRootPaths {
0 = EXT:warming/Resources/Private/Partials/
10 = {$module.tx_warming.view.partialRootPath}
}
}
}
');

Core\Utility\ExtensionManagementUtility::addTypoScriptConstants('
# customcategory=warming=Warming
# customsubcategory=view=View
module.tx_warming {
view {
# cat=warming/view/10; type=string; label=Path to template root
templateRootPath =
# cat=warming/view/20; type=string; label=Path to template partials
partialRootPath =
}
}
# customcategory=warming=Warming
# customsubcategory=view=View
module.tx_warming {
view {
# cat=warming/view/10; type=string; label=Path to template root
templateRootPath =
# cat=warming/view/20; type=string; label=Path to template partials
partialRootPath =
}
}
');
}

Expand Down

0 comments on commit 61cb7de

Please sign in to comment.