Drupal 7: Creating Custom Fields
Ein ausführliches Posting von Phase2 erklärt wie man eigene Felder in Drupal 7 definiert.
With Field API being part of core as of Drupal 7.0, creating custom fields just became a lot easier than they were in Drupal 6.x. Suppose you need to create a compound field, which consists of several different form elements (a select and several text fields). You can now have a basic compound field in three basic steps:
- Define the field (info and schema)
- Define the field form (widget)
- Define the output (formatter)
Note: Much of what will be discussed here can be found in the Field Example module, but with some much-needed explanations.

