public final function has_admin_settings() {
        global $CFG;

        $pluginroot = $CFG->dirroot . '/mod/assign/' . substr($this->get_subtype(), strlen('assign')) . '/' . $this->get_type();
        $settingsfile = $pluginroot . '/settings.php';
        return file_exists($settingsfile);
    }
public final function has_admin_settings() {
        global $CFG;

        $pluginroot = $CFG->dirroot . '/mod/assign/' . substr($this->get_subtype(), strlen('assign')) . '/' . $this->get_type();
        $settingsfile = $pluginroot . '/settings.php';
        return file_exists($settingsfile);
    }
public final function has_admin_settings ( ) { global $ CFG ; $ pluginroot = $ CFG -> dirroot . '/mod/assign/' . substr ( $ this -> get_subtype ( ) , strlen ( 'assign' ) ) . '/' . $ this -> get_type ( ) ; $ settingsfile = $ pluginroot . '/settings.php' ; return file_exists ( $ settingsfile ) ; }
Has this plugin got a custom settings.php file?

@return bool
Has this plugin got a custom settings . php file?