original_string: public function remove_success(moodle_url $url) {
          $html = $this->output->notification(get_string('communityremoved', 'hub'),
                      'notifysuccess');
          $continuebutton = new single_button($url,
                          get_string('continue', 'block_community'));
          $html .= html_writer::tag('div', $this->output->render($continuebutton),
                  array('class' => 'continuebutton'));
          return $html;
      }
code: public function remove_success(moodle_url $url) {
          $html = $this->output->notification(get_string('communityremoved', 'hub'),
                      'notifysuccess');
          $continuebutton = new single_button($url,
                          get_string('continue', 'block_community'));
          $html .= html_writer::tag('div', $this->output->render($continuebutton),
                  array('class' => 'continuebutton'));
          return $html;
      }
code_tokens: public function remove_success ( moodle_url $ url ) { $ html = $ this -> output -> notification ( get_string ( 'communityremoved' , 'hub' ) , 'notifysuccess' ) ; $ continuebutton = new single_button ( $ url , get_string ( 'continue' , 'block_community' ) ) ; $ html .= html_writer :: tag ( 'div' , $ this -> output -> render ( $ continuebutton ) , array ( 'class' => 'continuebutton' ) ) ; return $ html ; }
docstring: Display remove community success message and a button to be redirected to te referer page
  @param moodle_url $url the page to be redirected to
  @return string html
docstring_tokens: Display remove community success message and a button to be redirected to te referer page