Skip to content

Commit abbc027

Browse files
committed
[TASK] remove ext_typoscript_setup.txt Extbase Persistence Generation
1 parent 276a9d2 commit abbc027

File tree

2 files changed

+0
-46
lines changed

2 files changed

+0
-46
lines changed

Classes/Service/FileGenerator.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -504,16 +504,6 @@ protected function generateTyposcriptFiles(): void
504504
} catch (Exception $e) {
505505
throw new Exception('Could not generate typoscript constants, error: ' . $e->getMessage());
506506
}
507-
508-
// Generate Static TypoScript
509-
try {
510-
if ($this->extension->getDomainObjectsThatNeedMappingStatements()) {
511-
$fileContents = $this->generateStaticTyposcript();
512-
$this->writeFile($this->extensionDirectory . 'ext_typoscript_setup.typoscript', $fileContents);
513-
}
514-
} catch (Exception $e) {
515-
throw new Exception('Could not generate static typoscript, error: ' . $e->getMessage());
516-
}
517507
}
518508
}
519509

@@ -1282,17 +1272,6 @@ public function generateTyposcriptConstants(): ?string
12821272
]);
12831273
}
12841274

1285-
/**
1286-
* @return string|null
1287-
* @throws Exception
1288-
*/
1289-
public function generateStaticTyposcript(): ?string
1290-
{
1291-
return $this->renderTemplate('ext_typoscript_setup.txtt', [
1292-
'extension' => $this->extension
1293-
]);
1294-
}
1295-
12961275
/**
12971276
* @param string $extensionDirectory
12981277
* @param string $classType

Resources/Private/CodeTemplates/Extbase/ext_typoscript_setup.txtt

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)