constant NODE_PUBLISHED in Drupal 8
Same name and namespace in other branches
- 7 modules/node/node.module \NODE_PUBLISHED
Denotes that the node is published.
Deprecated
in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::PUBLISHED instead.
See also
https://www.drupal.org/node/2316145
File
- core/
modules/ node/ node.module, line 53 - The core module that allows content to be submitted to the site.
Code
const NODE_PUBLISHED = 1;