Scroll
Snippets
Snippets are small pieces of code—larger than a single variable but not large enough to justify placing them in a separate module. Using PHP code, you can display data directly in a template, access the database, or add a class or ID to a block wherever you need it. Sometimes it's easier to use a snippet than to rely on a module. There are countless such cases, and many snippets are documented in the Drupal documentation:
http://drupal.org/documentation/customization/snippets
Later on, I’ll go into more detail about how to use snippets, but for now, this marks the beginning of a new section in the tutorial where I’ll be adding examples that I frequently use.