General developer forum

Group Mode - Moodle 3.2

Picture of Dave Emsley
Group Mode - Moodle 3.2
Group Particularly helpful Moodlers

Is the documentation on Group API up to date?

I'm looking at the page and I'm having difficulty returning the group mode of the course with


which seemingly returns null not SEPARATEGROUPS as I would expect.  If it helps I'm building a block which will display either group members or all users depending on group settings so I need to know the course's group mode.

I'm baffled if anyone could advise I would be grateful.

Average of ratings: -