2.0
Content Blocks version 2.0 adds support for TYPO3 v14 and removes support for TYPO3 v13.
Feature
Field Type Country
A new Field Type Country is added. This type provides a list of countries for selection.
name: example/country
fields:
- identifier: country
type: Country
required: true
default: 'DE'
labelField: 'localizedName'
prioritizedCountries:
- DE
- AT
- CH
Copied!
Breaking
Changes to FieldType attribute parameters
Searchable fields are now automatically considered in backend search.
In order to provide the possibility to remove a field from search,
the new trait
\TYPO3\
can be included. See Content Blocks Core Field Types for an example how
to use it.
Before
#[FieldType(name: 'Money', tcaType: 'number', searchable: true)]
final class MoneyFieldType extends AbstractFieldType
{}
Copied!
After
#[FieldType(name: 'Money', tcaType: 'number')]
final class MoneyFieldType extends AbstractFieldType
{}
Copied!
Backend Previews without sections
It is now mandatory to provide proper Layouts and Sections for backend previews.