original_string: protected function get_serviceurl_pluginfo() {
          global $CFG;
  
          if (!empty($CFG->config_php_settings['alternativepluginfoserviceurl'])) {
              return $CFG->config_php_settings['alternativepluginfoserviceurl'];
          } else {
              return self::APIROOT.'/'.self::APIVER.'/pluginfo.php';
          }
      }
code: protected function get_serviceurl_pluginfo() {
          global $CFG;
  
          if (!empty($CFG->config_php_settings['alternativepluginfoserviceurl'])) {
              return $CFG->config_php_settings['alternativepluginfoserviceurl'];
          } else {
              return self::APIROOT.'/'.self::APIVER.'/pluginfo.php';
          }
      }
code_tokens: protected function get_serviceurl_pluginfo ( ) { global $ CFG ; if ( ! empty ( $ CFG -> config_php_settings [ 'alternativepluginfoserviceurl' ] ) ) { return $ CFG -> config_php_settings [ 'alternativepluginfoserviceurl' ] ; } else { return self :: APIROOT . '/' . self :: APIVER . '/pluginfo.php' ; } }
docstring: Returns URL of the pluginfo.php API end-point.
  
  @return string
docstring_tokens: Returns URL of the pluginfo . php API end - point .