original_string: public function manage_messageoutput_settings($allprocessors, $processors, $providers, $preferences) {
          $output = html_writer::start_tag('form', array('id' => 'defaultmessageoutputs', 'method' => 'post'));
          $output .= html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'sesskey', 'value' => sesskey()));
  
          // Add message output processors enabled/disabled and settings.
          $output .= $this->heading(get_string('messageoutputs', 'message'));
          $output .= $this->manage_messageoutputs($allprocessors);
  
          // Add active message output processors settings.
          $output .= $this->heading(get_string('managemessageoutputs', 'message'));
          $output .= $this->manage_defaultmessageoutputs($processors, $providers, $preferences);
  
          $output .= html_writer::start_tag('div', array('class' => 'form-buttons'));
          $output .= html_writer::empty_tag('input',
              array('type' => 'submit', 'value' => get_string('savechanges', 'admin'), 'class' => 'form-submit btn btn-primary')
          );
          $output .= html_writer::end_tag('div');
          $output .= html_writer::end_tag('form');
  
          return $output;
      }
code: public function manage_messageoutput_settings($allprocessors, $processors, $providers, $preferences) {
          $output = html_writer::start_tag('form', array('id' => 'defaultmessageoutputs', 'method' => 'post'));
          $output .= html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'sesskey', 'value' => sesskey()));
  
          // Add message output processors enabled/disabled and settings.
          $output .= $this->heading(get_string('messageoutputs', 'message'));
          $output .= $this->manage_messageoutputs($allprocessors);
  
          // Add active message output processors settings.
          $output .= $this->heading(get_string('managemessageoutputs', 'message'));
          $output .= $this->manage_defaultmessageoutputs($processors, $providers, $preferences);
  
          $output .= html_writer::start_tag('div', array('class' => 'form-buttons'));
          $output .= html_writer::empty_tag('input',
              array('type' => 'submit', 'value' => get_string('savechanges', 'admin'), 'class' => 'form-submit btn btn-primary')
          );
          $output .= html_writer::end_tag('div');
          $output .= html_writer::end_tag('form');
  
          return $output;
      }
code_tokens: public function manage_messageoutput_settings ( $ allprocessors , $ processors , $ providers , $ preferences ) { $ output = html_writer :: start_tag ( 'form' , array ( 'id' => 'defaultmessageoutputs' , 'method' => 'post' ) ) ; $ output .= html_writer :: empty_tag ( 'input' , array ( 'type' => 'hidden' , 'name' => 'sesskey' , 'value' => sesskey ( ) ) ) ; // Add message output processors enabled/disabled and settings. $ output .= $ this -> heading ( get_string ( 'messageoutputs' , 'message' ) ) ; $ output .= $ this -> manage_messageoutputs ( $ allprocessors ) ; // Add active message output processors settings. $ output .= $ this -> heading ( get_string ( 'managemessageoutputs' , 'message' ) ) ; $ output .= $ this -> manage_defaultmessageoutputs ( $ processors , $ providers , $ preferences ) ; $ output .= html_writer :: start_tag ( 'div' , array ( 'class' => 'form-buttons' ) ) ; $ output .= html_writer :: empty_tag ( 'input' , array ( 'type' => 'submit' , 'value' => get_string ( 'savechanges' , 'admin' ) , 'class' => 'form-submit btn btn-primary' ) ) ; $ output .= html_writer :: end_tag ( 'div' ) ; $ output .= html_writer :: end_tag ( 'form' ) ; return $ output ; }
docstring: Display the interface to manage both message outputs and default message outputs
  
  @param  array $allprocessors  array of objects containing all message processors
  @param  array $processors  array of objects containing active message processors
  @param  array $providers   array of objects containing message providers
  @param  array $preferences array of objects containing current preferences
  @return string The text to render
docstring_tokens: Display the interface to manage both message outputs and default message outputs