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

Breadcrumb

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

function Globals::propagator

1 call to Globals::propagator()
SdkAutoloader::createLateBindingTextMapPropagator in vendor/open-telemetry/sdk/SdkAutoloader.php

File

vendor/open-telemetry/api/Globals.php, line 51

Class

Globals
Provides access to the globally configured instrumentation instances.

Namespace

OpenTelemetry\API

Code

public static function propagator() : TextMapPropagatorInterface {
    return Context::getCurrent()->get(ContextKeys::propagator()) ?? self::globals()->propagator;
}

API Navigation

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