Document the variables and arrays used within Drupal core and available to developers and users through the Drupal interface. This information would be invaluable for people trying to code PHP snippets.

vid, uid, nid, etc, etc. We need to know the variable names and structure of these arrays in order to build php, use functions or develop modules! Much too hard to find this information right now.

It would also help to document the database structure of Drupal core tables.

Comments

pwolanin’s picture

There's quite a bit already scattered in the handbook:

http://drupal.org/node/22754

http://drupal.org/node/49768

zoon_unit’s picture

Thank you! These reference pages are a bit hard to find, but the object reference is great. Need more of the same. Also, the object reference is listed as compatible with 4.6. Has object reference stayed the same or does it need to be updated for 4.7 & 5.0?

xamount’s picture

You should check out the Devel Module. It has exactly what you are asking for.

dokumori’s picture

Project: Documentation » Drupal core
Version: » 7.x-dev
Component: Developer Guide » documentation

Changed the component to reflect the new component categorization. See http://drupal.org/node/301443
-dokumori

dokumori’s picture

Project: Drupal core » Documentation
Version: 7.x-dev »
Component: documentation » New documentation
manuel garcia’s picture

I think we should also point to the API, specially: http://api.drupal.org/api/globals

robbiethegeek’s picture

Assigned: Unassigned » robbiethegeek

Wrote a page to address this http://drupal.org/node/394206

add1sun’s picture

Status: Active » Fixed

Marking this fixed since we have a page to make it easier to find this stuff. Folks can feel free to add/edit as they want.

Status: Fixed » Closed (fixed)

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