'Status' field values for nodes and comments

Last modified: January 19, 2009 - 15:46

Note: we now use CONSTANTS in the code so it isn't usually necessary to know these values. You only need them if you are querying the database from a non-Drupal page.

Just documenting the status field for the following tables

NODES

  • 0: not published
  • 1: published

COMMENTS

  • 0: published
  • 1: not published
  • 2: deleted (no longer exists in Drupal 4.5 and above)
 
 

Drupal is a registered trademark of Dries Buytaert.