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

Breadcrumb

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

function StateInterface::resetCache

Resets the static cache.

This is mainly used in testing environments.

1 method overrides StateInterface::resetCache()
State::resetCache in core/lib/Drupal/Core/State/State.php
Resets the static cache.

File

core/lib/Drupal/Core/State/StateInterface.php, line 75

Class

StateInterface
Defines the interface for the state system.

Namespace

Drupal\Core\State

Code

public function resetCache();

API Navigation

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