function ForumIndexStorageInterface::createIndex
Same name in other branches
- 8.9.x core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::createIndex()
- 10 core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::createIndex()
- 11.x core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::createIndex()
Creates a {forum_index} entry for the given node.
Parameters
\Drupal\node\NodeInterface $node: The node for which the index records are to be created.
1 method overrides ForumIndexStorageInterface::createIndex()
- ForumIndexStorage::createIndex in core/
modules/ forum/ src/ ForumIndexStorage.php - Creates a {forum_index} entry for the given node.
File
-
core/
modules/ forum/ src/ ForumIndexStorageInterface.php, line 72
Class
- ForumIndexStorageInterface
- Handles CRUD operations to {forum_index} table.
Namespace
Drupal\forumCode
public function createIndex(NodeInterface $node);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.