Review main Abandoned

86442[WIP][TASK] Add option to disable default content elements

André Buchmann CR 0 V 0 Normal +123 −1 updated 09/17/26, 15:09

Commit message

Developers often use Mask or Content Blocks to define custom content
elements. Therefore, many project do not use the default content
elements and disable/hide/unset them in different ways.

The goal is to provide an option to disable the registration of the
default content elements in typo3/cms-frontend.

The feature flag "frontend.disableDefaultContentElements" is introduced
to disable the registration of the default content elements in the
frontend extension. By default this feature flag is disabled and the
content elements registered as known.

Todo: header, text and list registration is done due to dependencies.
Need to search for a solution -> WIP

Review

  • Code review CR 0
  • Verified V 0
    • core-ci +1 CI

Issues 1

Files 22

Show 2 more files

Review log 911

  1. André Buchmann uploaded patch set 1 10/07/24, 11:06

  2. Mathias Brodala commented on patch set 1 10/07/24, 11:09

    220-tt_content-content_type-textpic.php:7

    How about an early "return" instead to keep the change small?
  3. core-ci voted on patch set 1 V -1 10/07/24, 11:22 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67227

  4. Oli Bartsch commented on patch set 1 10/07/24, 14:03

    DefaultConfiguration.php:86 Unresolved

    Please lets change this to `registerDefaultContentElememnts` which defaults to TRUE.
  5. André Buchmann uploaded patch set 2 V -1 10/07/24, 14:15

  6. André Buchmann commented on patch set 2 10/07/24, 14:17

    220-tt_content-content_type-textpic.php:7 Reply

    Done
  7. core-ci voted on patch set 2 V +1 10/07/24, 14:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/67242

  8. Benni Mack marked it work in progress 01/08/25, 16:41

  9. Soren Malling commented on patch set 2 01/05/26, 10:54

    Unresolved

    Opening a topic here for moving them to EXT:fluid_styled_content https://talk.typo3.org/t/move-default-content-elements-to-ext-fluid-styled-content/6588
  10. Soren Malling commented on patch set 2 01/05/26, 12:51

    Different take on it, by moving them to FSC that can then be required if needed https://review.typo3.org/c/Packages/TYPO3.CMS/+/92249
  11. Georg Ringer abandoned the change 09/17/26, 15:09

    abandoning, see issue