If you're coming from a non-Drupal background, you might not be familiar with the idea of blocks. Using module-based blocks is an excellent method for exposing functionality, configuration and content to a Drupal administrator. Blocks can be used to display content, embed useful forms or add widgets to a site.In this video, I'll show you how your module can add a block. We'll look in detail at the hook that makes it all happen, and explore several examples, from a simple block to something a bit more fancy (infinite dynamically generated blocks!).