Search for persist

  1. Search 7.x for persist
  2. Search 9.5.x for persist
  3. Search 8.9.x for persist
  4. Search 11.x for persist
  5. Other projects
Title Object type File name Summary
AccessPolicyBase::getPersistentCacheContexts function core/lib/Drupal/Core/Session/AccessPolicyBase.php
AccessPolicyInterface::getPersistentCacheContexts function core/lib/Drupal/Core/Session/AccessPolicyInterface.php Gets the persistent cache contexts.
AccessPolicyProcessor::getPersistentCacheContexts function core/lib/Drupal/Core/Session/AccessPolicyProcessor.php Gets the persistent cache contexts of all policies within a given scope.
AlwaysAddsAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
AlwaysAltersAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
BarAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
BazAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
CacheCollector::$keysToPersist property core/lib/Drupal/Core/Cache/CacheCollector.php An array of keys to add to the cache on service termination.
CacheCollector::persist function core/lib/Drupal/Core/Cache/CacheCollector.php Flags an offset value to be written to the persistent cache.
CloseDialogCommand::$persist property core/lib/Drupal/Core/Ajax/CloseDialogCommand.php Whether to persist the dialog in the DOM or not.
ContentEntityStorageBase::getFromPersistentCache function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Gets entities from the persistent cache backend.
ContentEntityStorageBase::setPersistentCache function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Stores entities in the persistent cache backend.
DrupalKernel::getServicesToPersist function core/lib/Drupal/Core/DrupalKernel.php Returns service instances to persist from an old container to a new one.
DrupalKernel::persistServices function core/lib/Drupal/Core/DrupalKernel.php Moves persistent service instances into a new container.
EntityType::$persistent_cache property core/lib/Drupal/Core/Entity/EntityType.php
EntityType::isPersistentlyCacheable function core/lib/Drupal/Core/Entity/EntityType.php
EntityTypeInterface::isPersistentlyCacheable function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if the persistent cache of field data should be used.
FieldStorageConfig::$persist_with_no_fields property core/modules/field/src/Entity/FieldStorageConfig.php Flag indicating whether the field storage should be deleted when orphaned.
Fixtures::persistentPrefix function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php Generates a persistent prefix to use with all of our temporary directories.
FooAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
FormTestStatePersistForm class core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php Form constructor for testing form state persistence.
FormTestStatePersistForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php
FormTestStatePersistForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php Form constructor.
FormTestStatePersistForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php Returns a unique string identifying the form.
FormTestStatePersistForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php Form submission handler.
ImportStorageTransformer::$persistentLock property core/lib/Drupal/Core/Config/ImportStorageTransformer.php The persistent lock which the config importer uses across requests.
InstallerAccessPolicy::getPersistentCacheContexts function core/lib/Drupal/Core/Installer/InstallerAccessPolicy.php
LanguageNegotiationMethodBase::persist function core/modules/language/src/LanguageNegotiationMethodBase.php Notifies the plugin that the language code it returned has been accepted.
LanguageNegotiationMethodInterface::persist function core/modules/language/src/LanguageNegotiationMethodInterface.php Notifies the plugin that the language code it returned has been accepted.
LanguageNegotiationSession::persist function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php Notifies the plugin that the language code it returned has been accepted.
LocaleLookupTest::testResolveCacheMissWithPersist function core/modules/locale/tests/src/Unit/LocaleLookupTest.php Tests locale lookups with persistent tracking.
lock.persistent service core/core.services.yml Drupal\Core\Lock\PersistentDatabaseLockBackend
LockFunctionalTest::testPersistentLock function core/modules/system/tests/src/Functional/Lock/LockFunctionalTest.php Tests that the persistent lock is persisted between requests.
ManageFieldsLifecycleTest::addPersistentFieldStorage function core/modules/field_ui/tests/src/Functional/ManageFieldsLifecycleTest.php Tests that persistent field storage appears in the field UI.
MenuLinkDefaultTest::testUpdateLinkWithoutPersist function core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php @covers ::updateLink
PersistentDatabaseLockBackend class core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Provides a proxy class for \Drupal\Core\Lock\PersistentDatabaseLockBackend.
PersistentDatabaseLockBackend class core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php Defines the persistent database lock backend.
PersistentDatabaseLockBackend.php file core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend.php file core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend::$container property core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php The service container.
PersistentDatabaseLockBackend::$drupalProxyOriginalServiceId property core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php The id of the original proxied service.
PersistentDatabaseLockBackend::$service property core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php The real proxied service, after it was lazy loaded.
PersistentDatabaseLockBackend::acquire function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend::getLockId function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend::lazyLoadItself function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Lazy loads the real service from the container.
PersistentDatabaseLockBackend::lockMayBeAvailable function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend::release function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend::releaseAll function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend::schemaDefinition function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend::wait function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.