Community Documentation

'Status' field values for nodes and comments

Last updated January 19, 2009. Created by ax on December 20, 2003.
Edited by LeeHunter, puregin, Steven. Log in to edit this page.

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)
nobody click here