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 10.3.x for persist
  5. Other projects
Title Object type File name Summary
AccessPolicyBase::getPersistentCacheContexts function core/lib/Drupal/Core/Session/AccessPolicyBase.php Gets the persistent cache contexts.
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 Gets the persistent cache contexts.
AlwaysAltersAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Gets the persistent cache contexts.
BarAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Gets the persistent cache contexts.
BazAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Gets the persistent cache contexts.
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 Indicates if the persistent cache of field data should be used.
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 Gets the persistent cache contexts.
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
FormTestStatePersistForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php
FormTestStatePersistForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestStatePersistForm.php
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 Gets the persistent cache contexts.
LanguageNegotiationMethodBase::persist function core/modules/language/src/LanguageNegotiationMethodBase.php
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
LocaleLookupTest::testResolveCacheMissWithPersist function core/modules/locale/tests/src/Unit/LocaleLookupTest.php Tests locale lookups with persistent tracking.
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/Lock/PersistentDatabaseLockBackend.php Defines the persistent database lock backend.
PersistentDatabaseLockBackend class core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Provides a proxy class for \Drupal\Core\Lock\PersistentDatabaseLockBackend.
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 Acquires a lock.
PersistentDatabaseLockBackend::getLockId function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Gets the unique page token for locks.
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 Checks if a lock is available for acquiring.
PersistentDatabaseLockBackend::release function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Releases the given lock.
PersistentDatabaseLockBackend::releaseAll function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Releases all locks for the given lock token identifier.
PersistentDatabaseLockBackend::schemaDefinition function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend::wait function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Waits a short amount of time before a second lock acquire attempt.
PersistentDatabaseLockBackend::__construct function core/lib/Drupal/Core/Lock/PersistentDatabaseLockBackend.php Constructs a new PersistentDatabaseLockBackend.

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