You are here

public function CheeseburgerMenu::setWeight in Cheeseburger Menu 5.0.x

Set menu weight.

Parameters

int $weight: Set menu weight.

File

src/CheeseburgerMenu.php, line 339

Class

CheeseburgerMenu
Cheeseburger menu class.

Namespace

Drupal\cheeseburger_menu

Code

public function setWeight($weight) {
  $this->weight = $weight;
  return $this;
}