You are here

public function NodeOrderManagerInterface::getOrderableTids in Node Order 8

Get a list of term IDs on a node that can be ordered.

This method uses the `taxonomy_index` table to determine which terms on a node are orderable.

Parameters

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

bool $reset: Flag to reset cached data.

Return value

int[] Returns an array of the node's tids that are in orderable vocabularies.

See also

self::getOrderableTidsFromNode()

1 method overrides NodeOrderManagerInterface::getOrderableTids()
NodeOrderManager::getOrderableTids in src/NodeOrderManager.php
Get a list of term IDs on a node that can be ordered.

File

src/NodeOrderManagerInterface.php, line 105

Class

NodeOrderManagerInterface
Provides an interface defining a NodeOrderManager.

Namespace

Drupal\nodeorder

Code

public function getOrderableTids(NodeInterface $node, $reset = FALSE);