function ForumIndexStorageInterface::getOriginalTermId

Same name in other branches
  1. 9 core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::getOriginalTermId()
  2. 8.9.x core/modules/forum/src/ForumIndexStorageInterface.php \Drupal\forum\ForumIndexStorageInterface::getOriginalTermId()
  3. 11.x 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\forum

Code

public function getOriginalTermId(NodeInterface $node);

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