You are here

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

Menu items.

File

src/CheeseburgerMenu.php, line 219

Class

CheeseburgerMenu
Cheeseburger menu class.

Namespace

Drupal\cheeseburger_menu

Code

public function getIterator() {
  return new \ArrayIterator($this->menuItems);
}