Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CommentStatisticsInterface.php

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal