Search for persist

  1. Search 7.x for persist
  2. Search 8.9.x for persist
  3. Search 10.3.x for persist
  4. Search 11.x for persist
  5. Other projects
Title Object type File name Summary
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 Indicates if the persistent cache of field data should be used.
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.
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.
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.
ManageFieldsFunctionalTest::addPersistentFieldStorage function core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php Tests that persistent field storage appears in the field UI.
MenuLinkDefaultTest::testUpdateLinkWithoutPersist function core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php @covers ::updateLink
PermissionsHashGeneratorTest::testGeneratePersistentCache function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @covers ::generate
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/ProxyClass/Lock/PersistentDatabaseLockBackend.php
PersistentDatabaseLockBackend.php file core/lib/Drupal/Core/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.
PersistentDatabaseLockBackend::__construct function core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php Constructs a ProxyClass Drupal proxy object.
SessionTest::testDataPersistence function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests data persistence via the session_test module callbacks.
SessionTest::testSessionPersistenceOnLogin function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests storing data in Session() object.
SqlContentEntityStorageTest::testLoadMultipleNoPersistentCache function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @covers ::doLoadMultiple
@covers ::buildCacheId
@covers ::getFromPersistentCache
@covers ::setPersistentCache
SqlContentEntityStorageTest::testLoadMultiplePersistentCached function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @covers ::doLoadMultiple
@covers ::buildCacheId
@covers ::getFromPersistentCache
SqlContentEntityStorageTest::testLoadMultiplePersistentCacheMiss function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @covers ::doLoadMultiple
@covers ::buildCacheId
@covers ::getFromPersistentCache
@covers ::setPersistentCache
SystemTestController::$persistentLock property core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php The persistent lock service.

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