---
title: "Deprecation: #101151 - DuplicationBehavior class"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-101151-1688113521"
source: "Changelog/13.0/Deprecation-101151-DuplicationBehaviorClass.rst"
typo3-version: "13.0"
typo3-major: 13
type: "deprecation"
issue: 101151
forge: "https://forge.typo3.org/issues/101151"
tags: ["Backend", "FullyScanned", "ext:backend", "ext:core", "ext:filelist", "ext:impexp"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #101151 - DuplicationBehavior class {#deprecation-101151-1688113521}

See [forge#101151](https://forge.typo3.org/issues/101151)

## Description {#description}

The class `\TYPO3\CMS\Core\Resource\DuplicationBehavior` is marked
as deprecated.

## Impact {#impact}

The class `\TYPO3\CMS\Core\Resource\DuplicationBehavior` will be removed in
TYPO3 v14.0.

## Affected installations {#affected-installations}

All installations using the class `\TYPO3\CMS\Core\Resource\DuplicationBehavior`.

## Migration {#migration}

```php
// Before
$behaviour = \TYPO3\CMS\Core\Resource\DuplicationBehavior::cast(
    \TYPO3\CMS\Core\Resource\DuplicationBehavior::RENAME
);

// After
$behaviour = \TYPO3\CMS\Core\Resource\Enum\DuplicationBehavior::RENAME;
```
