public function isEditable() { // Protect the root menu from deletion if ('root' == $this->name) { return false; } return true; }