Building out Drupal module interfaces with a stub function

A technique that I’m finding quite useful during module development is to create a “stub” function for use as a generic interface callback for menu items that I want to define, but haven’t yet written callbacks for. For example, if I were building a Drupal 5 module called widgetmaster, I would define:

read more

Syndicate content

Twitter

  • Why did it take me this long to realize that MultiMarkdown will convert Markdown to Latex for you? Intriguing possibilities. 4 years 15 weeks ago
  • Protip: Don't use a handy drupal form screenshot to test a CCK imagefield... "WHERE ARE THOSE WEIRD FIELDS COMING FROM???" 4 years 15 weeks ago
  • Burt Mustin sighted in an Adam 12 rerun! 4 years 15 weeks ago
  • George Wendt and William Atherton in 'Re-animator: The Musical'. What more needs to be said, really? #fb 4 years 15 weeks ago
  • Sam Adams Noble Pils after working all day in the sun? Yes sir. 4 years 16 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key