---
title: "Extension Utility"
manual: "Content Planner"
version: "2.5"
source: "DeveloperCorner/ExtensionUtility.rst"
modified: "2026-09-16T11:40:44+00:00"
---

# Extension Utility

The `ExtensionUtility` is the public API for TCA configuration and feature
management. Use it to register additional record tables (see
[Additional Records](AdditionalRecords.html#additional-records)) and to query the current extension configuration
from your own code.

-   **class ExtensionUtility**

    -   *Fully qualified name:* `\Xima\XimaTypo3ContentPlanner\Utility\ExtensionUtility`

    Utility class for TCA configuration and feature management.

    -   **addContentPlannerTabToTCA($table)**

        Add the "Content Planner" tab (status, assignee and comments palette) to
        the TCA of the given table. Call this in a
        `Configuration/TCA/Overrides/<table>.php` file.

        -   *param string $table:* Table name to extend.
        -   *returntype:* `void`

    -   **getRecordTables()**

        Get all tables that are tracked by the content planner. Includes
        `pages`, the optionally enabled `tt_content` and filelist
        tables as well as all tables registered via
        `registerAdditionalRecordTables`.

        -   *returntype:* `string[]`

    -   **isRegisteredRecordTable($table)**

        Check whether the given table is tracked by the content planner.

        -   *param string $table:* Table name to check.
        -   *returntype:* `bool`

    -   **isFilelistSupportEnabled()**

        Check whether filelist support (files and folders) is enabled via the
        [enableFilelistSupport](../Configuration/ExtensionConfiguration.html#extconf-enableFilelistSupport) extension
        configuration.

        -   *returntype:* `bool`

    -   **isContentElementSupportEnabled()**

        Check whether content element support (`tt_content`) is enabled via
        the [enableContentElementSupport](../Configuration/ExtensionConfiguration.html#extconf-enableContentElementSupport)
        extension configuration.

        -   *returntype:* `bool`

    -   **isFeatureEnabled($feature)**

        Check whether a boolean extension configuration feature is enabled.

        -   *param string $feature:* Configuration key, e.g. `commentTodos`.
        -   *returntype:* `bool`

    -   **getExtensionSetting($feature)**

        Get the raw value of an extension configuration option as string.

        -   *param string $feature:* Configuration key, e.g. `treeStatusInformation`.
        -   *returntype:* `string`

> [!NOTE]
> **See also**
>
> View the sources on GitHub:
>
> -   [ExtensionUtility](https://github.com/xima-media/xima-typo3-content-planner/blob/main/Classes/Utility/ExtensionUtility.php)
