diff --git a/core/modules/comment/src/CommentInterface.php b/core/modules/comment/src/CommentInterface.php index e01e158..bda911c 100644 --- a/core/modules/comment/src/CommentInterface.php +++ b/core/modules/comment/src/CommentInterface.php @@ -15,12 +15,12 @@ /** * Comment is awaiting approval. */ - const NOT_PUBLISHED = EntityPublishedInterface::UNPUBLISHED; + const NOT_PUBLISHED = 0; /** * Comment is published. */ - const PUBLISHED = EntityPublishedInterface::PUBLISHED; + const PUBLISHED = 1; /** * Determines if this comment is a reply to another comment. diff --git a/core/modules/node/node.module b/core/modules/node/node.module index 07586d0..b151d7f 100644 --- a/core/modules/node/node.module +++ b/core/modules/node/node.module @@ -33,12 +33,12 @@ /** * Denotes that the node is not published. */ -const NODE_NOT_PUBLISHED = EntityPublishedInterface::UNPUBLISHED; +const NODE_NOT_PUBLISHED = 0; /** * Denotes that the node is published. */ -const NODE_PUBLISHED = EntityPublishedInterface::PUBLISHED; +const NODE_PUBLISHED = 1; /** * Denotes that the node is not promoted to the front page.