Community & Support

Good explanation of theme() function

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

See

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

Examples?

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

Read through the theme guide

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.

nobody click here