You are here

public function ForumIndexStorageInterface::getOriginalTermId in Drupal 9

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

1 method overrides ForumIndexStorageInterface::getOriginalTermId()
ForumIndexStorage::getOriginalTermId in core/modules/forum/src/ForumIndexStorage.php
Returns the forum term id associated with an existing forum node.

File

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

Class

ForumIndexStorageInterface
Handles CRUD operations to {forum_index} table.

Namespace

Drupal\forum

Code

public function getOriginalTermId(NodeInterface $node);