NODE_PUBLISHED

Same name in other branches
  1. 7.x 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

Code

const NODE_PUBLISHED = 1;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.