You are here

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

File

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

Class

MenuLinkNodeMenu

Code

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