original_string: public function base($exclude_langcode = false)
      {
          $base = GC_BASE;
  
          if ($base !== '/') {
              $base .= '/';
          }
  
          if (!empty($this->langcode)) {
              $suffix = "{$this->langcode}/";
              $base .= $suffix;
          }
  
          if ($exclude_langcode && !empty($suffix)) {
              $base = substr($base, 0, -strlen($suffix));
          }
  
          return $base;
      }
code: public function base($exclude_langcode = false)
      {
          $base = GC_BASE;
  
          if ($base !== '/') {
              $base .= '/';
          }
  
          if (!empty($this->langcode)) {
              $suffix = "{$this->langcode}/";
              $base .= $suffix;
          }
  
          if ($exclude_langcode && !empty($suffix)) {
              $base = substr($base, 0, -strlen($suffix));
          }
  
          return $base;
      }
code_tokens: public function base ( $ exclude_langcode = false ) { $ base = GC_BASE ; if ( $ base !== '/' ) { $ base .= '/' ; } if ( ! empty ( $ this -> langcode ) ) { $ suffix = "{$this->langcode}/" ; $ base .= $ suffix ; } if ( $ exclude_langcode && ! empty ( $ suffix ) ) { $ base = substr ( $ base , 0 , - strlen ( $ suffix ) ) ; } return $ base ; }
docstring: Returns the current base path
  @param boolean $exclude_langcode
  @return string
docstring_tokens: Returns the current base path