You are here

public function MenuLinkNodeMenu::offsetGet in Menu Link (Field) 7

File

menu_link_node_menu/menu_link_node_menu.module, line 88
Use a menu link field for core.

Class

MenuLinkNodeMenu

Code

public function offsetGet($offset) {
  if (empty($this->menu)) {
    $this
      ->loadMenu();
  }
  return $this->menu[$offset];
}