To avoid misunderstandings about the scope and proper use of this function, it would be useful to expand slightly on the documentation and explain where it can and cannot be called.

I took the liberty of blogging an overview of the use here - feel free to copy and paste chunks of it, if it is correct:
http://www.drupaler.co.uk/blog/path-theme-module/73

Comments

dvessel’s picture

Category: feature » bug
Status: Active » Needs review
StatusFileSize
new997 bytes
new982 bytes

The explanation was way off. It made sense in 5. Starting with 6 it's very misleading.

Anonymous’s picture

Component: theme system » documentation
Category: bug » task
moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community

Helpful - thanks.

dries’s picture

Status: Reviewed & tested by the community » Needs work

Please wrap the lines consistently, and re-roll.

It might also be useful to add one sentence explaining why this function is used/useful.

dvessel’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new1002 bytes
new987 bytes

The lines were odd because I tried to keep them within 78 characters per line. Not sure if there was a standard to this but that's what I see in most other areas of core.

It did have a one sentence explanation.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD and DRUPAL-6. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.