YAML reference
The heart of a Content Block is the config.
file. Here you can
find all possible configuration options. There are slight differences, whether
you are dealing with Content Elements,
Page Types or
Record Types. In general Content Elements
and Page Types are a special concept in TYPO3. The Core already defines the
table names, the type field, etc. You just have to define a new type. This is
done by providing the name
attribute, which will be converted to the
type name. Page Types require an integer value for the type. Therefore you need
to set it additionally with type
.
With TYPO3 you can also create custom Record Types. They require you to define
a custom table
and a label
field. Per default all extra
features like workspaces, language support, frontend restrictions, etc. are
enabled. You can selectively disable each one of them, if you don't use them.
Full examples can be found in the examples repository: https://github.com/friendsoftypo3/content-blocks/tree/main/Build/content-blocks-examples
Table of Contents