Drupal Functions

Drupal link function

The Drupal link function is a handy and easy way to create hyperlinks in your module or theme.

This example will print our human readable information about the $_SESSION inside a drupal_set_message. You can replace the $_SESSION with any other variable or array (or object).

drupal_set_message('<pre>'. print_r($_SESSION, true) .'</pre>');  

Learn how to become a Drupal developer

Does Drupal development make your head explode and drive you crazy?

Why not learn from someone who has paved the way instead?

Sign up to my upcoming learning series.

Syndicate

Syndicate content

Hello!!

I am Blair Wadman and this is where I write about Drupal, PHP, CSS etc

Stuff

© Blair Wadman
2005 - 2011