function ForumIndexStorageInterface::deleteRevision

Same name in other branches
  1. 8.9.x core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::deleteRevision()
  2. 10 core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::deleteRevision()
  3. 11.x core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::deleteRevision()

Deletes the records in {forum} table for a given node revision.

Parameters

\Drupal\node\NodeInterface $node: The node revision for which the records are to be deleted.

1 method overrides ForumIndexStorageInterface::deleteRevision()
ForumIndexStorage::deleteRevision in core/modules/forum/src/ForumIndexStorage.php
Deletes the records in {forum} table for a given node revision.

File

core/modules/forum/src/ForumIndexStorageInterface.php, line 64

Class

ForumIndexStorageInterface
Handles CRUD operations to {forum_index} table.

Namespace

Drupal\forum

Code

public function deleteRevision(NodeInterface $node);

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