You are here

public function ForumIndexStorageInterface::getOriginalTermId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 25
Contains \Drupal\forum\ForumIndexStorageInterface.

Class

ForumIndexStorageInterface
Handles CRUD operations to {forum_index} table.

Namespace

Drupal\forum

Code

public function getOriginalTermId(NodeInterface $node);