public function ForumIndexStorageInterface::getOriginalTermId in Drupal 10
Same name and namespace in other branches
- 8 core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::getOriginalTermId()
- 9 core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::getOriginalTermId()
Returns the forum term id associated with an existing forum node.
Parameters
\Drupal\node\NodeInterface $node: The existing forum node.
Return value
int The forum term id currently associated with the node.
File
- core/
modules/ forum/ src/ ForumIndexStorageInterface.php, line 21
Class
- ForumIndexStorageInterface
- Handles CRUD operations to {forum_index} table.
Namespace
Drupal\forumCode
public function getOriginalTermId(NodeInterface $node);