---
title: "Feature: #61725 - Hook for BackendUtility::countVersionsOfRecordsOnPage()"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-61725"
source: "Changelog/7.1/Feature-61725-AddHookToBackendUtilityCountVersionsOfRecordsOnPage.rst"
typo3-version: "7.1"
typo3-major: 7
type: "feature"
issue: 61725
forge: "https://forge.typo3.org/issues/61725"
tags: ["PHP-API", "Backend"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Feature: #61725 - Hook for BackendUtility::countVersionsOfRecordsOnPage() {#feature-61725}

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

## Description {#description}

Hook to post-process `BackendUtility::countVersionsOfRecordsOnPage`
result. `BackendUtility::countVersionsOfRecordsOnPage` is used to
visualize workspace states in e.g. the page tree.

Register like this:

```php
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['countVersionsOfRecordsOnPage'][] = 'My\Package\HookClass->hookMethod';
```
