4

Where can i find the core theme function code (D7)? I would like to use the table theme function as a template for a new theme function I'm writing.

Arnold

2 Answers 2

4

Check out the API Docs on Drupal.org. There you will be able to find the description on how to use the functions as well as the actual code of the function. For your use, here is theme_table(). The actual function is in "includes/theme.inc, line 1631" as stated in the theme_table() documentation page.

0
3

Have a look at themeable functions in the API and more generally you can search for theme_.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.