Experimental project

This is a sandbox project, which contains experimental code for developer use only.

git clone --recursive --branch 7.x-1.0-rc1 http://git.drupal.org/sandbox/WaltHaas/1466474.git fieldexamples

This project is designed to help people who are learning to write code that uses the Drupal 7 Field API programatically. This package contains two example modules which add simple fields to the user object. These are designed to be entry-level tutorials. The code is thoroughly documented and the mechanism used is explained.

This project includes simpler examples than the Field Example in the Examples Project and provides a more thorough description of the various API calls. This project also discusses some popular modules outside the Drupal core, which is not part of the charter of the Examples Project.

Install in the usual place, then enable the Fieldexamples module and read its Help. Then enable either or both of the Human Name and Three Questions modules as desired. Both modules have detailed Help.

Project information

  • Created by Walt Haas on , updated