NodeInterface::isPublished

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();
doc_Drupal
2016-10-29 09:30:55
Comments
Leave a Comment

Please login to continue.