Skip to content
Snippets Groups Projects
Select Git revision
  • ff9e842730ccf251cf8b76401e4df1b1c6edcea2
  • 11.x default protected
  • 11.2.x protected
  • 10.5.x protected
  • 10.6.x protected
  • 11.1.x protected
  • 10.4.x protected
  • 11.0.x protected
  • 10.3.x protected
  • 7.x protected
  • 10.2.x protected
  • 10.1.x protected
  • 9.5.x protected
  • 10.0.x protected
  • 9.4.x protected
  • 9.3.x protected
  • 9.2.x protected
  • 9.1.x protected
  • 8.9.x protected
  • 9.0.x protected
  • 8.8.x protected
  • 10.5.1 protected
  • 11.2.2 protected
  • 11.2.1 protected
  • 11.2.0 protected
  • 10.5.0 protected
  • 11.2.0-rc2 protected
  • 10.5.0-rc1 protected
  • 11.2.0-rc1 protected
  • 10.4.8 protected
  • 11.1.8 protected
  • 10.5.0-beta1 protected
  • 11.2.0-beta1 protected
  • 11.2.0-alpha1 protected
  • 10.4.7 protected
  • 11.1.7 protected
  • 10.4.6 protected
  • 11.1.6 protected
  • 10.3.14 protected
  • 10.4.5 protected
  • 11.0.13 protected
41 results

comment.module

Blame
  • Angie Byron's avatar
    #330983 by recidive and boombatower: Rename users/users_roles tables to...
    Angie Byron authored
    #330983 by recidive and boombatower: Rename users/users_roles tables to user/user_role for consistency.
    ff9e8427
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    comment.module 72.22 KiB
    <?php
    // $Id$
    
    /**
     * @file
     * Enables users to comment on published content.
     *
     * When enabled, the Drupal comment module creates a discussion
     * board for each Drupal node. Users can post comments to discuss
     * a forum topic, weblog post, story, collaborative book page, etc.
     */
    
    /**
     * Comment is awaiting approval.
     */
    define('COMMENT_NOT_PUBLISHED', 0);
    
    /**
     * Comment is published.
     */
    define('COMMENT_PUBLISHED', 1);
    
    /**
     * Comments are displayed in a flat list - collapsed.
     */
    define('COMMENT_MODE_FLAT_COLLAPSED', 1);
    
    /**
     * Comments are displayed in a flat list - expanded.
     */
    define('COMMENT_MODE_FLAT_EXPANDED', 2);
    
    /**
     * Comments are displayed as a threaded list - collapsed.
     */
    define('COMMENT_MODE_THREADED_COLLAPSED', 3);
    
    /**
     * Comments are displayed as a threaded list - expanded.
     */
    define('COMMENT_MODE_THREADED_EXPANDED', 4);
    
    /**
     * Anonymous posters cannot enter their contact information.
     */
    define('COMMENT_ANONYMOUS_MAYNOT_CONTACT', 0);
    
    /**
     * Anonymous posters may leave their contact information.
     */
    define('COMMENT_ANONYMOUS_MAY_CONTACT', 1);
    
    /**
     * Anonymous posters are required to leave their contact information.
     */
    define('COMMENT_ANONYMOUS_MUST_CONTACT', 2);
    
    /**
     * Comment form should be displayed on a separate page.
     */
    define('COMMENT_FORM_SEPARATE_PAGE', 0);
    
    /**
     * Comment form should be shown below post or list of comments.
     */
    define('COMMENT_FORM_BELOW', 1);
    
    /**
     * Comments for this node are disabled.
     */