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

Breadcrumb

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

ThemeRegistry::$persistable

Whether the partial registry can be persisted to the cache.

This is only allowed if all modules and the request method is GET. _theme() should be very rarely called on POST requests and this avoids polluting the runtime cache.

Type: bool

File

core/lib/Drupal/Core/Utility/ThemeRegistry.php, line 30

Class

ThemeRegistry
Builds the run-time theme registry.

Namespace

Drupal\Core\Utility

Code

protected $persistable;

API Navigation

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