Drupal Nodes
Table of Contents


A node is a piece of content. A node type is like a class and and individual node is like an object instance.
Node types examples:

  • book page
  • blog entry
  • poll

Module developers can add features like ratings, comments, file attachments, and geolocation information.

Nodes also contain a base set of behavioral properties that all other content types inherit. For example any node can be promoted to the front page of the web site.


  • nid: Unique ID for the node.
  • vid: unique revision ID.
  • type: Every node has a node type (blog, story, article, etc).
  • language: Language of the node.
  • title: String used as the node's title.
  • uid: The user ID of the author.
  • status:
    • 0: unpublished
    • 1: Published
  • created: timestamp of when the node was created.
  • changed: when was the node last modified.
  • comment:
    • 0: Comments are disabled.
    • 1: No more comments are allowed.
    • 2: Comments can be viewed and users can create new comments.
  • promote: Promoted to the front page.
  • moderate: If moderation is allowed.
  • sticky: The first nodes to be displayed are the sticky ones.
  • tnid: The nid of the source code being translated.
  • translate:
    • 1: Translation needs to be updated.
    • 0: Translation is up to date.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.