function ForumIndexStorageInterface::create

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

Creates a record in {forum} table for the given node.

Parameters

\Drupal\node\NodeInterface $node: The node for which the record is to be created.

File

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

Class

ForumIndexStorageInterface
Handles CRUD operations to {forum_index} table.

Namespace

Drupal\forum

Code

public function create(NodeInterface $node);

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