Entries field
The entries field is a powerful tool for creating and managing content in a structured way.
The entries field allows you to create and manage multiple entries for the same field. It offers editors a flexible alternative to the structure field for when they need to handle a list of content that only consists of one field.
It supports the color
, date
, email
, number
, select
, slug
, tel
, text
, time
, url
field types.
In your templates
To easily loop through your entries and retrieve each entry as field object, you can use the new $field->toEntries()
method:
Preview
