public function TreeNode::setDepth in Ubercart 8.4
Sets the depth of the term.
Parameters
string $depth: The node's name.
Return value
$this
File
- uc_catalog/
src/ TreeNode.php, line 134
Class
- TreeNode
- Data structure to mimic Drupal's menu system.
Namespace
Drupal\uc_catalogCode
public function setDepth(string $depth) {
$this->depth = $depth;
return $this;
}