Hello,

Is there anybody who could provide me with a good explanation and examples of the function theme(). I am a newbie and could not find anything valuable.

Thanks,
Yoel

Comments

nevets’s picture

See http://api.drupal.org/api/function/theme for details about the theme function. You may also want to read the theme guide.

yoeld’s picture

Anybody can provide me with some examples? http://api.drupal.org/api/function/theme provides the details of the function itself. I need assistance on its functionality and usage.

Thanks

nevets’s picture

Read through the theme guide to get a background. In general terms the theme function is used to separate the collection of "data" from it's presentation.