You are here

public function NodeOrderManagerInterface::canBeOrdered in Node Order 8

Determine if a given node can be ordered in any vocabularies.

Parameters

\Drupal\node\NodeInterface $node: The node object.

Return value

bool Returns TRUE if the node has terms in any orderable vocabulary.

1 method overrides NodeOrderManagerInterface::canBeOrdered()
NodeOrderManager::canBeOrdered in src/NodeOrderManager.php
Determine if a given node can be ordered in any vocabularies.

File

src/NodeOrderManagerInterface.php, line 87

Class

NodeOrderManagerInterface
Provides an interface defining a NodeOrderManager.

Namespace

Drupal\nodeorder

Code

public function canBeOrdered(NodeInterface $node);