code: protected void createContentDirectory() throws CmsException {
  
          if (!isModuleConfiguration()) {
              String contentFolder = getContentFolderPath();
              if (!getCms().existsResource(contentFolder)) {
                  getCms().createResource(
                      contentFolder,
                      OpenCms.getResourceManager().getResourceType(CmsResourceTypeFolder.getStaticTypeName()));
              }
          }
      }
docs: Creates the content directory for this configuration node if possible.<p>
  
  @throws CmsException if something goes wrong