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 '';
        }
    }
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 '';
        }
    }
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 '' ; } }
Render a warning that a directory with development libs is present.

@param bool $devlibdir True if the warning should be displayed.
@return string
Render a warning that a directory with development libs is present .