Check your version

This video 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: 

Define What We're Building & Start A New Module

Video loading...

Transcript language code: 

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:00
    DRUPAL 7 FIELD API Define What We're Building
  • 0:02
    & Start A New Module with Joe Shindelar
  • 0:07
    Before we can start building our custom field,
  • 0:10
    we need a sandbox Drupal site to work with
  • 0:12
    and an understanding of what it is we're trying to create.
  • 0:15
    In this lesson, we'll preview the final product of the module
  • 0:19
    we'll be building throughout this series in order
  • 0:21
    to give you an idea of what our goals are
  • 0:23
    and what you can expect to learn.
  • 0:26
    Then we'll walk through the prerequisites-- such as having

Define What We're Building & Start a New Module


Before we can start building our custom field we need a vanilla Drupal site to work with and a skeleton module. This lesson will ensure you've got Drupal 7 up and running and walk through creation of a basic .info file and .module file for the module we'll be building. If you're already familiar with Drupal module development this lesson can likely be skipped and you can simply download the attached starter files, add them to an existing Drupal site, and continue on with the next lesson.

Grab a fresh copy of Drupal 7, and install it. If you need a refresher on installing Drupal checkout this series.

You'll also want to download and install the devel module as we'll make use of some of the debugging functions in provides (namely dsm()) in later lessons in this series.

Alternatly, you can grab the .zip file under the companion files listed on this page which contains Drupal 7, and a database dump you can import to get started.

Log in or sign up to download companion files.

Additional resources:
There are no resources for this video. If you believe there should be, please contact us.