Skip to Content
The Definitive Guide to Drupal 7
book

The Definitive Guide to Drupal 7

by Greg Stout, Michelle Lauer, Mike Ryan, Stéphane Corlosquet, Nathaniel Catchpole, Robin Monks, Dan Hakimzadeh, Jacine Luisi, Kasey Qynn Dolin, George Cassie, Albert Albala, Bojhan Somers, Dmitri Gaskin, Stefan Freudenberg, Jake Strawn, Allie Micka, Florian Lorétan, Sam Boyer, Forest Mars, Mike Gifford, Susan Stewart, Peter Wolanin, Roy Scholten, Robert Douglass, Greg Anderson, Brian Travis, Kay VanValkenburgh, Ryan Szrama, Amye Scavarda, Benjamin Melançon, Ed Carlevale, Dani Nordin, Claudina Sarahe, Károly Négyesi
July 2011
Intermediate to advanced
1146 pages
32h 29m
English
Apress
Content preview from The Definitive Guide to Drupal 7

C H A P T E R  20

images

Refining Your Module

by Benjamin Melançon

Chapters 18 and 19 have shown you how to write your module, but there's more to a module than just the code you've written. In this chapter you'll see how to:

  • Create a configuration page and settings form.
  • Refine your module into a drupal.org-worthy module, including fixing errors and reviewing for coding standards.

Creating a Configuration Page for Your Module

X-ray module could get away with setting sensible defaults and having no configuration page. The design philosophy of Don't Make Me Think (in general, but in particular the now-classic book of that name by Steve Krug) argues ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Beginning Drupal 8

Beginning Drupal 8

Todd Tomlinson
Learning Drupal 8

Learning Drupal 8

Rain Michaels
Beginning Drupal 7

Beginning Drupal 7

Todd Tomlinson

Publisher Resources

ISBN: 9781430231356Purchase book