def METHOD_NAME(pt):
    result = []
    layout_resources = queryResourceDirectory(CONTENT_LAYOUT_RESOURCE_NAME, "custom")
    portal_membership = api.portal.get_tool("portal_membership")
    user_id = portal_membership.getAuthenticatedMember().getId()
    try:
        users_directory = layout_resources["user-layouts"]
        user_directory = users_directory[user_id]
    except (NotFound, TypeError):
        return []
    for key, value in getLayoutsFromDirectory(
        user_directory, CONTENT_LAYOUT_MANIFEST_FORMAT
    ).items():
        value["path"] = "custom/user-layouts/" + key
        _for = [v for v in (value.get("for") or "").split(",") if v]
        if _for and pt not in _for:
            continue
        preview = value.get("preview", value.get("screenshot"))
        if preview and not preview.startswith("++"):
            value[
                "preview"
            ] = "++contentlayout++custom/user-layouts/{user_id}/{path}".format(
                user_id=user_id, path="/".join([os.path.dirname(key), preview])
            )
        result.append(value)
    return result