In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "Ensure that register globals is set to off in the PHP.ini file."

A block of code is set as follows:

name = Bartik extra
base theme=bartik
description=A Bartik sub-theme which provides a navigation region
core = 7.x

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

// We hide the comments and links now so that we can render them later.
?><div class="recipe-instructions"><?php print render($content['body']);?></div><?php ...

Get Drupal 7 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.