You are here

public function CommentStatisticsInterface::delete in Drupal 9

Same name and namespace in other branches
  1. 8 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.

1 method overrides CommentStatisticsInterface::delete()
CommentStatistics::delete in core/modules/comment/src/CommentStatistics.php
Delete comment statistics records for an entity.

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);