public NodeInterface::isPublished()
Returns the node published status indicator.
Unpublished nodes are only visible to their authors and to administrators.
Return value
bool TRUE if the node is published.
File
- core/modules/node/src/NodeInterface.php, line 107
Class
- NodeInterface
- Provides an interface defining a node entity.
Namespace
Drupal\node
Code
public function isPublished();
Please login to continue.