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

Breadcrumb

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

function ContextStorage::current

Overrides ContextStorageInterface::current

File

vendor/open-telemetry/context/ContextStorage.php, line 49

Class

ContextStorage
@internal

Namespace

OpenTelemetry\Context

Code

public function current() : ContextInterface {
    return $this->current->node->context ?? Context::getRoot();
}

API Navigation

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