You are here

public function ForumIndexStorageInterface::delete in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::delete()
  2. 10 core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::delete()

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

Parameters

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

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

File

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

Class

ForumIndexStorageInterface
Handles CRUD operations to {forum_index} table.

Namespace

Drupal\forum

Code

public function delete(NodeInterface $node);