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

Breadcrumb

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

function ContextInterface::createKey

Creates a new context key.

Parameters

non-empty-string $key name of the key:

Return value

ContextKeyInterface created key

See also

https://github.com/open-telemetry/opentelemetry-specification/blob/main…

1 method overrides ContextInterface::createKey()
Context::createKey in vendor/open-telemetry/context/Context.php
Creates a new context key.

File

vendor/open-telemetry/context/ContextInterface.php, line 22

Class

ContextInterface
Immutable execution scoped propagation mechanism.

Namespace

OpenTelemetry\Context

Code

public static function createKey(string $key) : ContextKeyInterface;

API Navigation

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