I feel that the documentation is a bit confusing for us non-php types. When I look up documentation for variables I like to copy/paste them into the my code. Unfortunately I miss understood the change that was made from D6 to D7. I think it would be helpful if the documentation explained that the new print regions variables need to be placed inside a render(); to work properly.

I suggest changing "Regions:" to "Regions ( to be place inside render(); ):".

If someone has better wording feel free to suggest it.

Comments

jhodgdon’s picture

Status: Active » Closed (won't fix)

We don't explain how to use the theme system in the API documentation. Sorry!

Please check the Documentation link on drupal.org for more detailed explanations of how to write modules and themes, and the Drupal APIs.