You are here

public function NodeInterface::isPublished in Zircon Profile 8

Same name and namespace in other branches
  1. 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\node

Code

public function isPublished();