You are here

constant NODE_NOT_PUBLISHED in Drupal 8

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

Denotes that the node is not published.

Deprecated

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

See also

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

File

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

Code

const NODE_NOT_PUBLISHED = 0;