Fields are the building blocks of Drupal's powerful content modeling system. The Field API allows for the development of custom field types, field widgets, and field formatters to suit almost any data display and collection needs. When combined with entities, which allows for the attachment of fields to entity bundles (commonly known as content types), Drupal becomes infinitely flexible without requiring writing any code.
- Understand how the main components of Drupal's field system fit together
- Learn how fields can be used to customize your site
- Customize existing fields and create new additional functionality within your own modules
At this point in the development cycle, the Field API is stable. Contributed modules that provide additional field types and add functionality to the field system are likely to emerge, but the main components of the core functionality are unlikely to change.
We are still filling out our Drupal 8 library and this page will be updated with new tutorials as they are created.
- This tutorial, along with those following it in our module development guide, walk through an overview of the Field API. This includes the three main components that make up fields in Drupal (field types, widgets, and formatters).
- Entities and fields are closely related and it's worth taking the time to understand both.
- Fields and entities combined give Drupal powerful data modeling tools, and a large amount of flexibility for site builders.
- This video is a high level overview of the entity and field system in Drupal 8, including the main changes for those familiar with Drupal 7.
- This series, targeted at site builders, covers the main conceptual and structural tasks that a site administrator would use to make the most out of Drupal's field system. Mostly relevant for Drupal 8 too.
- This series covers the Field API in Drupal 7 from the module developer's perspective.