You are here

public function CommentInterface::isPublished in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::isPublished()

Checks if the comment is published.

Return value

bool TRUE if the comment is published.

1 method overrides CommentInterface::isPublished()
Comment::isPublished in core/modules/comment/src/Entity/Comment.php
Checks if the comment is published.

File

core/modules/comment/src/CommentInterface.php, line 205
Contains \Drupal\comment\CommentInterface.

Class

CommentInterface
Provides an interface defining a comment entity.

Namespace

Drupal\comment

Code

public function isPublished();