You are here

constant NODE_PROMOTED in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/node/node.module \NODE_PROMOTED

Node is promoted to front page.

3 uses of NODE_PROMOTED
hook_node_operations in modules/node/node.api.php
Add mass node operations.
node_node_operations in modules/node/node.admin.inc
Implements hook_node_operations().
node_promote_action in modules/node/node.module
Sets the promote property of a node to 1.

File

modules/node/node.module, line 27
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Code

define('NODE_PROMOTED', 1);