You are here

public function NodeOrderManagerInterface::getOrderableTidsFromNode in Node Order 8

Get all term IDs on a node that are on orderable vocabularies.

Returns an array of the node's tids that are in orderable vocabularies. Slower than self::getOrderableTids() but needed when tids have already been removed from the database.

Parameters

\Drupal\node\NodeInterface $node: The node to find term IDs for.

Return value

int[] An array of term IDs.

1 method overrides NodeOrderManagerInterface::getOrderableTidsFromNode()
NodeOrderManager::getOrderableTidsFromNode in src/NodeOrderManager.php
Get all term IDs on a node that are on orderable vocabularies.

File

src/NodeOrderManagerInterface.php, line 120

Class

NodeOrderManagerInterface
Provides an interface defining a NodeOrderManager.

Namespace

Drupal\nodeorder

Code

public function getOrderableTidsFromNode(NodeInterface $node);