You are here

public function CommentStatisticsInterface::update in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/CommentStatisticsInterface.php \Drupal\comment\CommentStatisticsInterface::update()

Update or insert comment statistics records after a comment is added.

Parameters

\Drupal\comment\CommentInterface $comment: The comment added or updated.

1 method overrides CommentStatisticsInterface::update()
CommentStatistics::update in core/modules/comment/src/CommentStatistics.php
Update or insert comment statistics records after a comment is added.

File

core/modules/comment/src/CommentStatisticsInterface.php, line 58
Contains \Drupal\comment\CommentStatisticsInterface.

Class

CommentStatisticsInterface
Provides an interface for storing and retrieving comment statistics.

Namespace

Drupal\comment

Code

public function update(CommentInterface $comment);