MDL-69002 core_badges: add methods to support backpack validation
authorSara Arjona <sara@moodle.com>
Wed, 10 Jun 2020 10:23:26 +0000 (12:23 +0200)
committerSara Arjona <sara@moodle.com>
Wed, 10 Jun 2020 10:26:47 +0000 (12:26 +0200)
commit3e567085a8f4dfaa1d14c351a06f2e9608bd7614
tree54031cda171872ae89b6e3a5d007054d38fdf30f
parent15db4a762a7630e20cdcb52798c172126efafa73
MDL-69002 core_badges: add methods to support backpack validation

A more generic method has been added to the API to validate the
backpack connection (for now, there was only one method for
validating current backpack).
Besides, a renderer has been added to display this information
depending on the backpackid.
badges/renderer.php
lang/en/badges.php
lib/badgeslib.php