You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `soft_delete.enabled` | bool | `false` | Register `SoftDeleteListener` (intercepts `remove()`) and the `soft_delete` Doctrine filter. Entities still opt in by implementing `SoftDeletableInterface` and using `SoftDeletableTrait`. |
409
-
| `archivable.enabled` | bool | `false` | Register the `archivable` Doctrine filter (registered disabled; toggle per-request). Entities still opt in by implementing `ArchivableInterface` and using `ArchivableTrait`. |
409
+
| `archivable.enabled` | bool | `false` | Register the `archivable` Doctrine filter (registered enabled; hides archived rows by default; disable per-request to reveal them). Entities still opt in by implementing `ArchivableInterface` and using `ArchivableTrait`. |
410
410
| `timestampable.enabled` | bool | `false` | Register `TimestampableListener` (sets `createdAt`/`updatedAt`). Entities still opt in by implementing `TimestampableInterface` and using `TimestampableTrait`. |
411
411
| `blameable.enabled` | bool | `false` | Register `BlameableListener` (sets `createdBy`/`modifiedBy` from the security token). Entities still opt in by implementing `BlameableInterface` and using `BlameableTrait`. |
412
412
| `anonymization.enabled` | bool | `false` | Discover `#[Anonymize]` property attributes, register privacy services, and expose the `privacy:anonymize` and `privacy:anonymize-stale` commands. Entities still opt in by implementing `AnonymizationStatusInterface`, using `AnonymizationStatusTrait`, and annotating PII properties. |
Copy file name to clipboardExpand all lines: config/reference.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1248,7 +1248,7 @@
1248
1248
* enabled?: bool|Param, // When true, registers the soft_delete Doctrine filter and listener. Entities still opt in by implementing SoftDeletableInterface and using SoftDeletableTrait. // Default: false
1249
1249
* },
1250
1250
* archivable?: array{
1251
-
* enabled?: bool|Param, // When true, registers the archivable Doctrine filter (registered disabled; toggle per-request via $em->getFilters()->enable('archivable')). Entities still opt in by implementing ArchivableInterface and using ArchivableTrait. // Default: false
1251
+
* enabled?: bool|Param, // When true, registers the archivable Doctrine filter (registered enabled; archived rows are hidden by default — disable per-request via $em->getFilters()->disable('archivable') to reveal them). Entities still opt in by implementing ArchivableInterface and using ArchivableTrait. // Default: false
1252
1252
* },
1253
1253
* timestampable?: array{
1254
1254
* enabled?: bool|Param, // When true, registers the onFlush listener that sets createdAt/updatedAt. Entities still opt in by implementing TimestampableInterface and using TimestampableTrait. // Default: false
Copy file name to clipboardExpand all lines: src/DependencyInjection/Configuration.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ public function getConfigTreeBuilder(): TreeBuilder
65
65
->children()
66
66
->booleanNode('enabled')
67
67
->defaultFalse()
68
-
->info('When true, registers the archivable Doctrine filter (registered disabled; toggle per-request via $em->getFilters()->enable(\'archivable\')). Entities still opt in by implementing ArchivableInterface and using ArchivableTrait.')
68
+
->info('When true, registers the archivable Doctrine filter (registered enabled; archived rows are hidden by default — disable per-request via $em->getFilters()->disable(\'archivable\') to reveal them). Entities still opt in by implementing ArchivableInterface and using ArchivableTrait.')
self::assertFalse($filters['archivable']['enabled'], 'archivable filter is registered disabled so it can be toggled per-request');
38
+
self::assertTrue($filters['archivable']['enabled'], 'archivable filter is registered enabled so archived rows are hidden by default; disable per-request to reveal');
0 commit comments