You are here

constant NODE_PROMOTED in Drupal 8

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

Denotes that the node is promoted to the front page.

Deprecated

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::PROMOTED instead.

See also

https://www.drupal.org/node/2316145

File

core/modules/node/node.module, line 73
The core module that allows content to be submitted to the site.

Code

const NODE_PROMOTED = 1;