---
title: "Deprecation: #77296 - Deprecate public member parentMenuArr in AbstractMenuContentObject"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-77296"
source: "Changelog/8.5/Deprecation-77296-DeprecatePublicMemberParentMenuArrInAbstractMenuContentObject.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Deprecation: #77296 - Deprecate public member parentMenuArr in AbstractMenuContentObject

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

## Description

The previously undefined member `parentMenuArr` has been added as public member and marked as deprecated.

## Impact

The parentMenuArr will be publicly accessible until it is changed to protected in TYPO3 v9.

## Affected Installations

Instances that have menus with sublevels and using this member in the itemArrayProcFunc.

## Migration

Use the provided API function `getParentMenuArr()` to get the parentMenuArr instead.
This method always returns an array.

If you need the direct parent menuitem of the current sublevel use `getParentMenuItem()` method.
