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

Breadcrumb

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

function Context::debugScopesDisabled

1 call to Context::debugScopesDisabled()
Context::activate in vendor/open-telemetry/context/Context.php
Attaches this context as active context.

File

vendor/open-telemetry/context/Context.php, line 84

Class

Context

Namespace

OpenTelemetry\Context

Code

private static function debugScopesDisabled() : bool {
    return filter_var($_SERVER[self::OTEL_PHP_DEBUG_SCOPES_DISABLED] ?? \getenv(self::OTEL_PHP_DEBUG_SCOPES_DISABLED) ?: \ini_get(self::OTEL_PHP_DEBUG_SCOPES_DISABLED), FILTER_VALIDATE_BOOLEAN);
}

API Navigation

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