You are here

public function NodeOrderManagerInterface::addToList in Node Order 8

Push new or newly orderable node to the top of ordered list.

Parameters

\Drupal\node\NodeInterface $node: The node to add to the top of the list.

int $tid: The term ID to order the node in.

1 method overrides NodeOrderManagerInterface::addToList()
NodeOrderManager::addToList in src/NodeOrderManager.php
Push new or newly orderable node to the top of ordered list.

File

src/NodeOrderManagerInterface.php, line 20

Class

NodeOrderManagerInterface
Provides an interface defining a NodeOrderManager.

Namespace

Drupal\nodeorder

Code

public function addToList(NodeInterface $node, $tid);