xowiki::Package instproc require_root_folder (public)
<instance of xowiki::Package> require_root_folder \ [ -parent_id parent_id ] [ -content_types content_types ] \ -name name
Defined in packages/xowiki/tcl/package-procs.tcl
Make sure, the root folder for the given package exists. If not, create it and register all allowed content types.
- Switches:
- -parent_id
(defaults to"-100"
) (optional)- -content_types
(optional)- -name
(required)- Returns:
- folder_id
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- package_normalize_path, create_form_with_form_instance