The node published status indicator.
Unpublished nodes are only visible to their authors and to administrators.
The value is either NODE_PUBLISHED or NODE_NOT_PUBLISHED.
Type: integer
File
- drupal/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php, line 127
- Definition of Drupal\node\Plugin\Core\Entity\Node.
Class
- Node
- Defines the node entity class.
Namespace
Drupal\node\Plugin\Core\Entity
Code
public $status;