PLAY PODCASTS
Talking Drupal #026  Drupal Hooks

Talking Drupal #026 Drupal Hooks

Talking Drupal · Stephen Cross

December 4, 20131h 6m

Audio is streamed directly from the publisher (traffic.libsyn.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

Topics

  • Two types of Drupal developers - “Drupal Site builder” vs “Drupal Developer”...
  • What is a Hook
  • Example of common hooks used
  • Terminology when discussing hooks
  • Need to Create a Module
  • Basic Steps for implementing a Hook
  • Things you need

Module of the Week

  • Attachment Links https://drupal.org/project/attachment_links

The Attachment Links module provides permanent links to files attached to a node. A single, easy-to-remember URL can be used to retrieve the preferred (canonical) or newest version of a file regardless of how many versions of that file have been attached to a node.

Typically, users will want to create a "File" content type and enable the Attachment Links module for that content type. Each "File" node should refer to a single file: "Handbook," "Company logo," "Team roster," etc. Though each node could contain multiple versions of the file, Attachment Link provides permanent link to access the preferred or newest versions.

Links

  • Drupal 7 Hooks - https://api.drupal.org/api/drupal/includes!module.inc/group/hooks/7

Hosts

  • Stephen Cross - www.ParallaxInfoTech.com @stephencross
  • Jason Pamental - www.hwdesignco.com @jpamental
  • John Picozzi - www.RubicDesign.com @johnpicozzi
  • Nic Laflin - www.nLightened.net @nicxvan