<?php $options = []; $menu_parent = NULL; if (strpos($menu_parent, ':') !== FALSE && !isset($options[$menu_parent])) { // The requested menu parent cannot be found in the menu anymore. Try // setting it to the top level in the current menu. list($menu_name, $parent) = explode(':', $menu_parent, 2); $menu_parent = $menu_name . ':'; } var_dump($menu_parent);
You have javascript disabled. You will not be able to edit any code.