You are here

public function CommentStatisticsInterface::delete in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 50
Contains \Drupal\comment\CommentStatisticsInterface.

Class

CommentStatisticsInterface
Provides an interface for storing and retrieving comment statistics.

Namespace

Drupal\comment

Code

public function delete(EntityInterface $entity);