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

Breadcrumb

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

function MetadataBag::__construct

Same name in this branch
  1. 11.1.x core/lib/Drupal/Core/Session/MetadataBag.php \Drupal\Core\Session\MetadataBag::__construct()

Parameters

string $storageKey The key used to store bag in the session:

int $updateThreshold The time to wait between two UPDATED updates:

2 calls to MetadataBag::__construct()
MetadataBag::__construct in core/lib/Drupal/Core/Session/MetadataBag.php
Constructs a new metadata bag instance.
MetadataBag::__construct in core/lib/Drupal/Core/Session/MetadataBag.php
Constructs a new metadata bag instance.
1 method overrides MetadataBag::__construct()
MetadataBag::__construct in core/lib/Drupal/Core/Session/MetadataBag.php
Constructs a new metadata bag instance.

File

vendor/symfony/http-foundation/Session/Storage/MetadataBag.php, line 38

Class

MetadataBag
Metadata container.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function __construct(string $storageKey = '_sf2_meta', int $updateThreshold = 0) {
}
RSS feed
Powered by Drupal