CommentInterface::setSubject

public CommentInterface::setSubject($subject) Sets the subject of the comment. Parameters string $subject: The subject of the comment. Return value $this The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 100 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function setSubject($subject);

CommentInterface::setPublished

public CommentInterface::setPublished($status) Sets the published status of the comment entity. Parameters bool $status: Set to TRUE to publish the comment, FALSE to unpublish. Return value \Drupal\comment\CommentInterface The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 219 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function setPublished($status);

CommentInterface::setHostname

public CommentInterface::setHostname($hostname) Sets the hostname of the author of the comment. Parameters string $hostname: The hostname of the author of the comment. Return value $this The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 173 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function setHostname($hostname);

CommentInterface::setHomepage

public CommentInterface::setHomepage($homepage) Sets the comment author's home page address. For anonymous authors, this is the value as typed in the comment form. Parameters string $homepage: The homepage address of the author of the comment. Return value $this The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 154 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public funct

CommentInterface::setFieldName

public CommentInterface::setFieldName($field_name) Sets the field ID for which this comment is attached. Parameters string $field_name: The field name through which the comment was added. Return value $this The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 73 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function setFieldName($field_name);

CommentInterface::setCreatedTime

public CommentInterface::setCreatedTime($created) Sets the creation date of the comment. Parameters int $created: The timestamp of when the comment was created. Return value $this The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 192 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function setCreatedTime($created);

CommentInterface::setAuthorName

public CommentInterface::setAuthorName($name) Sets the name of the author of the comment. Parameters string $name: A string containing the name of the author. Return value $this The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 121 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function setAuthorName($name);

CommentInterface::PUBLISHED

Comment is published. File core/modules/comment/src/CommentInterface.php, line 22 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code const PUBLISHED = 1;

CommentInterface::permalink

public CommentInterface::permalink() Returns the permalink URL for this comment. Return value \Drupal\Core\Url File core/modules/comment/src/CommentInterface.php, line 245 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function permalink();

CommentInterface::NOT_PUBLISHED

Comment is awaiting approval. File core/modules/comment/src/CommentInterface.php, line 17 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code const NOT_PUBLISHED = 0;