---
title: "Deprecation: #101163 - Abstract class Enumeration"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-101163-1681741493"
source: "Changelog/13.0/Deprecation-101163-Enumeration.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Deprecation: #101163 - Abstract class Enumeration

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

## Description

The abstract class `\TYPO3\CMS\Core\Type\Enumeration` is deprecated
in favor of PHP built-in backed [enums](https://www.php.net/manual/en/language.types.enumerations.php).

## Impact

All classes extending `\TYPO3\CMS\Core\Type\Enumeration` will trigger a
deprecation level log entry.

## Affected installations

Classes extending `\TYPO3\CMS\Core\Type\Enumeration` need to be converted
into PHP built-in backed enums.

## Migration

Class definition:

```php
class State extends \TYPO3\CMS\Core\Type\Enumeration
{
    public const STATE_DEFAULT = 'somestate';
    public const STATE_DISABLED = 'disabled';
}
```

should be converted into:

```php
enum State: string
{
    case STATE_DEFAULT = 'somestate';
    case STATE_DISABLED = 'disabled';
}
```

Existing method calls must be adapted.

See also [Feature: #101396 - Let Extbase handle native enums](https://docs.typo3.org/permalink/changelog:feature-101396-1689843367).
