Saltar al contenido principal

Function: courseActivityTypes()

function courseActivityTypes(
context,
siteUrl,
courseId
): Promise<object[]>;

Defined in: areas/site/info.ts:56

The activity and resource types the person can add to a course: none when they can't edit it.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
courseIdnumber

Returns​

Promise<object[]>