function 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);

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