constant NODE_NOT_PUBLISHED in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/node.module \NODE_NOT_PUBLISHED
Denotes that the node is not published.
7 uses of NODE_NOT_PUBLISHED
- EntityReferenceItemTest::testAutocreateValidation in core/
modules/ field/ src/ Tests/ EntityReference/ EntityReferenceItemTest.php - Tests ValidReferenceConstraint with newly created and unsaved entities.
- EntityReferenceSelectionAccessTest::testNodeHandler in core/
modules/ system/ src/ Tests/ Entity/ EntityReferenceSelection/ EntityReferenceSelectionAccessTest.php - Test the node-specific overrides of the entity handler.
- MenuTest::testUnpublishedNodeMenuItem in core/
modules/ menu_ui/ src/ Tests/ MenuTest.php - Tests that menu items pointing to unpublished nodes are editable.
- Node::setPublished in core/
modules/ node/ src/ Entity/ Node.php - Sets the published status of a node..
- node_get_recent in core/
modules/ node/ node.module - Finds the most recently changed nodes that are available to the current user.
File
- core/
modules/ node/ node.module, line 35 - The core module that allows content to be submitted to the site.
Code
const NODE_NOT_PUBLISHED = 0;