/** * Get URL related to the action * * @return \moodle_url */ public function get_url() { return \core_competency\url::competency($this->objectid, $this->contextid); }