Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Configuration.php

function Configuration::getString

6 calls to Configuration::getString()
Environment::getResource in vendor/open-telemetry/sdk/Resource/Detectors/Environment.php
LogsExporterFactory::getEndpoint in vendor/open-telemetry/exporter-otlp/LogsExporterFactory.php
MetricExporterFactory::getEndpoint in vendor/open-telemetry/exporter-otlp/MetricExporterFactory.php
SamplerFactory::create in vendor/open-telemetry/sdk/Trace/SamplerFactory.php
SdkAutoloader::fileBasedInitializer in vendor/open-telemetry/sdk/SdkAutoloader.php
@phan-suppress PhanPossiblyUndeclaredVariable

... See full list

File

vendor/open-telemetry/sdk/Common/Configuration/Configuration.php, line 43

Class

Configuration
Configuration can come from one or more of the following sources (from highest to lowest priority):

Namespace

OpenTelemetry\SDK\Common\Configuration

Code

public static function getString(string $key, ?string $default = null) : string {
    return (string) self::validateVariableValue(CompositeResolver::instance()->resolve(self::validateVariableType($key, VariableTypes::STRING), $default));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal