public function save_form() { global $cms_module_menu_datasource_menu_editorial_max_depth; $this->parameters['max_depth'] = $cms_module_menu_datasource_menu_editorial_max_depth + 0; $this->save_constructor_link_form("section"); return parent::save_form(); }