You are here

public function ForumIndexStorageInterface::create in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.

1 method overrides ForumIndexStorageInterface::create()
ForumIndexStorage::create in core/modules/forum/src/ForumIndexStorage.php
Creates a record in {forum} table for the given node.

File

core/modules/forum/src/ForumIndexStorageInterface.php, line 33
Contains \Drupal\forum\ForumIndexStorageInterface.

Class

ForumIndexStorageInterface
Handles CRUD operations to {forum_index} table.

Namespace

Drupal\forum

Code

public function create(NodeInterface $node);