Skip to content

Commit

Permalink
Merge pull request #95 from PeaceSfiSh/fix-94
Browse files Browse the repository at this point in the history
[BUGFIX] add Extbase persistence configuration for TYPO3 version 10.4
  • Loading branch information
Alexander Bigga authored Mar 29, 2022
2 parents 8662ea1 + 556352f commit 66babd2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Configuration/Extbase/Persistence/Classes.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);

return [
\Slub\SlubEvents\Domain\Model\TtContent::class => [
'tableName' => 'tt_content',
'properties' => [
'altText' => [
'fieldName' => 'altText'
],
'titleText' => [
'fieldName' => 'titleText'
],
'colPos' => [
'fieldName' => 'colPos'
],
'CType' => [
'fieldName' => 'CType'
],
],
],
];
1 change: 1 addition & 0 deletions ext_typoscript_setup.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# ==============================================
# Persistence object mapping configuration
# ==============================================
# TODO: remove this file if dropping support for TYPO3 less than version 10.4
config.tx_extbase.persistence.classes {

Slub\SlubEvents\Domain\Model\TtContent {
Expand Down

0 comments on commit 66babd2

Please sign in to comment.