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

Breadcrumb

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

function NoopTextMapPropagator::extract

Overrides TextMapPropagatorInterface::extract

File

vendor/open-telemetry/context/Propagation/NoopTextMapPropagator.php, line 28

Class

NoopTextMapPropagator

Namespace

OpenTelemetry\Context\Propagation

Code

public function extract($carrier, ?PropagationGetterInterface $getter = null, ?ContextInterface $context = null) : ContextInterface {
    return $context ?? Context::getCurrent();
}

API Navigation

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