Module Development

Field API Documentation and Resources for Drupal 7

Check your version

This tutorial covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Alternate resources

Sprout Video

There's quite a bit of documentation and other resources already available to help you better understand the Drupal 7 Field API. Lets take a look at what's already available on Drupal.org, in the Examples project, and in the Drupal 7 core code that will serve as good reference material. We'll be referring back to these resources in later lessons, and they'll serve as a great place to look up additional information or to continue your learning via other examples.

Resources covered in this video:

We've also got some additional resources here on Drupalize.Me that will serve as a good refresher for how/where fields are used in Drupal:

Handbook for Field API

field.api.php

Field API documentation available on api.drupal.org

Examples for Developers project