Robust content modeling is made possible in Drupal 7 through fields. Attaching the right field types to entities makes it possible to bend your Drupal site to your will and scale it according to your needs. There are a lot of field types and field formatters provided in Contrib that you can download and install as modules to extend your Drupal 7 site. But what if you want to collect, store and format data in a particular way not provided by core or contributed modules? By providing custom fields and formatters through a module, you can control how your data is stored as well as provide one or more ways for the data to be output—through field formatters.
In this series, Joe Shindelar walks through how you as a module developer can leverage the Field API to build your own custom fields and field formatters. This week, we kick off the series with the first six videos. From introduction to the Field API to providing a database table schema, to understanding where to find documentation, you'll be well on your way to creating your own custom fields. Next, week we'll wrap up the series with the last 5 videos of the series.
In this week's release:
- Introduction to the Drupal 7 Field API Series (FREE)
- Drupal 7 Field API Fundamentals
- Field API Documentation & Resources
- Define What We're Building & Start A New Module
- Providing Drupal With Meta-Data About A Custom Field
- Defining A Field's Schema For Database Storage
This series is suitable for module developers. Even if you're new to module development in Drupal, creating custom fields and field formatters is a great way to advance your module development skills. If you need a refresher on module development or just want to get started with it, check out our Module Development for Drupal 7 series.