original_string: public function get_settings(MoodleQuickForm $mform) {
          $default = $this->get_config('commentinline');
          if ($default === false) {
              // Apply the admin default if we don't have a value yet.
              $default = get_config('assignfeedback_comments', 'inline');
          }
          $mform->addElement('selectyesno',
                             'assignfeedback_comments_commentinline',
                             get_string('commentinline', 'assignfeedback_comments'));
          $mform->addHelpButton('assignfeedback_comments_commentinline', 'commentinline', 'assignfeedback_comments');
          $mform->setDefault('assignfeedback_comments_commentinline', $default);
          // Disable comment online if comment feedback plugin is disabled.
          $mform->hideIf('assignfeedback_comments_commentinline', 'assignfeedback_comments_enabled', 'notchecked');
     }
code: public function get_settings(MoodleQuickForm $mform) {
          $default = $this->get_config('commentinline');
          if ($default === false) {
              // Apply the admin default if we don't have a value yet.
              $default = get_config('assignfeedback_comments', 'inline');
          }
          $mform->addElement('selectyesno',
                             'assignfeedback_comments_commentinline',
                             get_string('commentinline', 'assignfeedback_comments'));
          $mform->addHelpButton('assignfeedback_comments_commentinline', 'commentinline', 'assignfeedback_comments');
          $mform->setDefault('assignfeedback_comments_commentinline', $default);
          // Disable comment online if comment feedback plugin is disabled.
          $mform->hideIf('assignfeedback_comments_commentinline', 'assignfeedback_comments_enabled', 'notchecked');
     }
code_tokens: public function get_settings ( MoodleQuickForm $ mform ) { $ default = $ this -> get_config ( 'commentinline' ) ; if ( $ default === false ) { // Apply the admin default if we don't have a value yet. $ default = get_config ( 'assignfeedback_comments' , 'inline' ) ; } $ mform -> addElement ( 'selectyesno' , 'assignfeedback_comments_commentinline' , get_string ( 'commentinline' , 'assignfeedback_comments' ) ) ; $ mform -> addHelpButton ( 'assignfeedback_comments_commentinline' , 'commentinline' , 'assignfeedback_comments' ) ; $ mform -> setDefault ( 'assignfeedback_comments_commentinline' , $ default ) ; // Disable comment online if comment feedback plugin is disabled. $ mform -> hideIf ( 'assignfeedback_comments_commentinline' , 'assignfeedback_comments_enabled' , 'notchecked' ) ; }
docstring: Get the default setting for feedback comments plugin
  
  @param MoodleQuickForm $mform The form to add elements to
  @return void
docstring_tokens: Get the default setting for feedback comments plugin