Skip to content

Commit

Permalink
[BUGFIX] add Extbase persistence configuration for TYPO3 version 10.4,
Browse files Browse the repository at this point in the history
…fixes #94
  • Loading branch information
twaurisch committed Mar 29, 2022
1 parent 8662ea1 commit 556352f
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 556352f

Please sign in to comment.