CommentInterface::getAuthorName

public CommentInterface::getAuthorName()

Returns the comment author's name.

For anonymous authors, this is the value as typed in the comment form.

Return value

string The name of the comment author.

File

core/modules/comment/src/CommentInterface.php, line 110

Class

CommentInterface
Provides an interface defining a comment entity.

Namespace

Drupal\comment

Code

public function getAuthorName();
doc_Drupal
2016-10-29 08:50:44
Comments
Leave a Comment

Please login to continue.