public function NodeInterface::isPublished in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/NodeInterface.php \Drupal\node\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.
1 method overrides NodeInterface::isPublished()
- Node::isPublished in core/
modules/ node/ src/ Entity/ Node.php - Returns the node published status indicator.
File
- core/
modules/ node/ src/ NodeInterface.php, line 111 - Contains \Drupal\node\NodeInterface.
Class
- NodeInterface
- Provides an interface defining a node entity.
Namespace
Drupal\nodeCode
public function isPublished();