public CommentInterface::getAuthorEmail()
Returns the comment author's email address.
For anonymous authors, this is the value as typed in the comment form.
Return value
string The email address of the author of the comment.
File
- core/modules/comment/src/CommentInterface.php, line 131
Class
- CommentInterface
- Provides an interface defining a comment entity.
Namespace
Drupal\comment
Code
public function getAuthorEmail();
Please login to continue.