Note: This documentation is for Moodle 2.7. For up-to-date documentation see Capabilities/mod/label:addinstance.