public function CheeseburgerMenu::setNavigationMenuItems in Cheeseburger Menu 5.0.x
Sets navigation menu items.
Parameters
\Drupal\cheeseburger_menu\CheeseburgerMenuItem[] $menu_items: Menu items.
Return value
static The object itself for chaining
File
- src/
CheeseburgerMenu.php, line 246
Class
- CheeseburgerMenu
- Cheeseburger menu class.
Namespace
Drupal\cheeseburger_menuCode
public function setNavigationMenuItems(array $menu_items) {
$this->navigationMenuItems = $menu_items;
return $this;
}