Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 42... Línea 42...
42
        ],
42
        ],
43
        'core_contentbank_visibility' => [
43
        'core_contentbank_visibility' => [
44
            'choices' => [content::VISIBILITY_UNLISTED, content::VISIBILITY_PUBLIC],
44
            'choices' => [content::VISIBILITY_UNLISTED, content::VISIBILITY_PUBLIC],
45
            'type' => PARAM_INT,
45
            'type' => PARAM_INT,
46
            'null' => NULL_NOT_ALLOWED
46
            'null' => NULL_NOT_ALLOWED
47
        ]
47
        ],
-
 
48
        'core_contentbank_displayunlisted' => [
-
 
49
            'choices' => [0, 1],
-
 
50
            'type' => PARAM_INT,
-
 
51
            'null' => NULL_NOT_ALLOWED,
-
 
52
            'default' => 0,
-
 
53
            'permissioncallback' => [core_user::class, 'is_current_user'],
-
 
54
        ],
48
    ];
55
    ];
49
}
56
}