Registration

In order to register a new Content Block, one has to be placed in a specified folder inside any TYPO3 extension. Depending on the type you want to create, choose one of these folders:

  • ContentBlocks/ContentElements

  • ContentBlocks/PageTypes

  • ContentBlocks/RecordTypes

The system loads them automatically, as soon as it finds any folder inside these directories, which has a file with the name EditorInterface.yaml. Refer to the YAML reference, on how to define this file.

Tip

Use the command make:content-block to quickly create a new Content Block.

Tip

You can copy and paste any Content Block from one project to another, and it will be automatically available.

Administration

Note

Make sure to add Content Blocks as a dependency in the host extension.

Attention

You will need to allow the generated database fields, tables (if using inline relations) and CType in the backend user group permissions.