You are here

public function TreeNode::setName in Ubercart 8.4

Sets the name of the term.

Parameters

string $name: The node's name.

Return value

$this

File

uc_catalog/src/TreeNode.php, line 88

Class

TreeNode
Data structure to mimic Drupal's menu system.

Namespace

Drupal\uc_catalog

Code

public function setName(string $name) {
  $this->name = $name;
  return $this;
}