function CommentStatisticsInterface::delete

Same name in other branches
  1. 9 core/modules/comment/src/CommentStatisticsInterface.php \Drupal\comment\CommentStatisticsInterface::delete()
  2. 8.9.x core/modules/comment/src/CommentStatisticsInterface.php \Drupal\comment\CommentStatisticsInterface::delete()
  3. 11.x core/modules/comment/src/CommentStatisticsInterface.php \Drupal\comment\CommentStatisticsInterface::delete()

Delete comment statistics records for an entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity for which comment statistics should be deleted.

File

core/modules/comment/src/CommentStatisticsInterface.php, line 46

Class

CommentStatisticsInterface
Provides an interface for storing and retrieving comment statistics.

Namespace

Drupal\comment

Code

public function delete(EntityInterface $entity);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.