original_string: protected function development_libs_directories_warning($devlibdir) {
  
          if ($devlibdir) {
              $moreinfo = new moodle_url('/report/security/index.php');
              $warning = get_string('devlibdirpresent', 'core_admin', ['moreinfourl' => $moreinfo->out()]);
              return $this->warning($warning, 'error');
  
          } else {
              return '';
          }
      }
code: protected function development_libs_directories_warning($devlibdir) {
  
          if ($devlibdir) {
              $moreinfo = new moodle_url('/report/security/index.php');
              $warning = get_string('devlibdirpresent', 'core_admin', ['moreinfourl' => $moreinfo->out()]);
              return $this->warning($warning, 'error');
  
          } else {
              return '';
          }
      }
code_tokens: protected function development_libs_directories_warning ( $ devlibdir ) { if ( $ devlibdir ) { $ moreinfo = new moodle_url ( '/report/security/index.php' ) ; $ warning = get_string ( 'devlibdirpresent' , 'core_admin' , [ 'moreinfourl' => $ moreinfo -> out ( ) ] ) ; return $ this -> warning ( $ warning , 'error' ) ; } else { return '' ; } }
docstring: Render a warning that a directory with development libs is present.
  
  @param bool $devlibdir True if the warning should be displayed.
  @return string
docstring_tokens: Render a warning that a directory with development libs is present .