W3cubDocs

/Drupal 8

protected property 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.

File

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

Class

ThemeRegistry
Builds the run-time theme registry.

Namespace

Drupal\Core\Utility

Code

protected $persistable;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Utility!ThemeRegistry.php/property/ThemeRegistry::persistable/8.1.x