You are here

public function TreeNode::getDepth in Ubercart 8.4

Gets the depth of the term.

Return value

string The name of the term.

1 call to TreeNode::getDepth()
TreeNode::addChild in uc_catalog/src/TreeNode.php
Determines if new child is an immediate descendant or not.

File

uc_catalog/src/TreeNode.php, line 122

Class

TreeNode
Data structure to mimic Drupal's menu system.

Namespace

Drupal\uc_catalog

Code

public function getDepth() {
  return $this->depth;
}