original_string: protected function get_manage_subscriptions_button() {
          if (calendar_user_can_add_event($this->calendar->course)) {
              $managesubscriptionurl = new moodle_url('/calendar/managesubscriptions.php', $this->get_link_params());
              return new \single_button($managesubscriptionurl,
                      get_string('managesubscriptions', 'calendar'), 'get');
          }
      }
code: protected function get_manage_subscriptions_button() {
          if (calendar_user_can_add_event($this->calendar->course)) {
              $managesubscriptionurl = new moodle_url('/calendar/managesubscriptions.php', $this->get_link_params());
              return new \single_button($managesubscriptionurl,
                      get_string('managesubscriptions', 'calendar'), 'get');
          }
      }
code_tokens: protected function get_manage_subscriptions_button ( ) { if ( calendar_user_can_add_event ( $ this -> calendar -> course ) ) { $ managesubscriptionurl = new moodle_url ( '/calendar/managesubscriptions.php' , $ this -> get_link_params ( ) ) ; return new \ single_button ( $ managesubscriptionurl , get_string ( 'managesubscriptions' , 'calendar' ) , 'get' ) ; } }
docstring: Get manage subscription button.
  
  @return string The manage subscription button html.
docstring_tokens: Get manage subscription button .