Search for save

  1. Search 7.x for save
  2. Search 9.5.x for save
  3. Search 8.9.x for save
  4. Search 10.3.x for save
  5. Other projects
Title Object type File name Summary
ContentEntityStorageBase::doSave function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Performs storage-specific saving of the entity.
ContentEntityStorageBase::doSaveFieldItems function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Writes entity field values to the storage.
ContentEntityStorageBase::invokeFieldPostSave function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Invokes the post save method on the Field objects within an entity.
ContentLanguageSettings::preSave function core/modules/language/src/Entity/ContentLanguageSettings.php Acts on an entity before the presave hook is invoked.
ContentModerationResaveTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php Tests Content Moderation with entities that get re-saved automatically.
ContentModerationResaveTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php
ContentModerationResaveTest::$contentModerationStateStorage property core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php The content moderation state entity storage.
ContentModerationResaveTest::$entityStorage property core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php The entity storage for the entity type used in the test.
ContentModerationResaveTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php Modules to enable.
ContentModerationResaveTest::$state property core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php The state service.
ContentModerationResaveTest::setUp function core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php
ContentModerationResaveTest::testContentModerationResave function core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php Tests that Content Moderation works with entities being resaved.
ContentModerationState::realSave function core/modules/content_moderation/src/Entity/ContentModerationState.php Saves an entity permanently.
ContentModerationState::save function core/modules/content_moderation/src/Entity/ContentModerationState.php Saves an entity permanently.
ContentTranslationFieldSyncRevisionTest::saveNewEntity function core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php
ContentTranslationSyncImageTest::saveEntity function core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php Saves the passed entity and reloads it, enabling compatibility mode.
ContentTranslationUITestBase::doTestChangedTimeAfterSaveWithoutChanges function core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Tests the changed time after API and FORM save without changes.
content_moderation_entity_presave function core/modules/content_moderation/content_moderation.module Implements hook_entity_presave().
content_moderation_test_resave.info.yml file core/modules/content_moderation/tests/modules/content_moderation_test_resave/content_moderation_test_resave.info.yml core/modules/content_moderation/tests/modules/content_moderation_test_resave/content_moderation_test_resave.info.yml
content_moderation_test_resave.install file core/modules/content_moderation/tests/modules/content_moderation_test_resave/content_moderation_test_resave.install Contains install functions for the Content moderation test re-save module.
content_moderation_test_resave.module file core/modules/content_moderation/tests/modules/content_moderation_test_resave/content_moderation_test_resave.module Contains hook implementations for the Content moderation test re-save module.
content_moderation_test_resave_entity_insert function core/modules/content_moderation/tests/modules/content_moderation_test_resave/content_moderation_test_resave.module Implements hook_entity_insert().
content_moderation_test_resave_install function core/modules/content_moderation/tests/modules/content_moderation_test_resave/content_moderation_test_resave.install Implements hook_install().
content_translation_entity_presave function core/modules/content_translation/content_translation.module Implements hook_entity_presave().
DateFormatFormBase::save function core/modules/system/src/Form/DateFormatFormBase.php Form submission handler for the 'save' action.
DecimalItem::preSave function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php Defines custom presave behavior for field values.
DefaultsEntityForm::save function core/modules/layout_builder/src/Form/DefaultsEntityForm.php Form submission handler for the 'save' action.
DefaultsSectionStorage::save function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Saves the sections.
DriverSpecificTransactionTestBase::createFirstSavepointTransaction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Create a Drupal savepoint transaction after root.
DriverSpecificTransactionTestBase::testCommitWithActiveSavepoint function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests committing a transaction while savepoints are active.
DriverSpecificTransactionTestBase::testReleaseIntermediateSavepoint function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests releasing a savepoint before last is safe.
DriverSpecificTransactionTestBase::testRollbackRootAfterSavepointRollback function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests root transaction rollback after savepoint rollback.
DriverSpecificTransactionTestBase::testRollbackRootWithActiveSavepoint function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests root transaction rollback failure when savepoint is open.
DriverSpecificTransactionTestBase::testRollbackSavepoint function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests savepoint transaction rollback.
DriverSpecificTransactionTestBase::testRollbackSavepointWithLaterSavepoint function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests savepoint transaction rollback failure when later savepoints exist.
DriverSpecificTransactionTestBase::testRollbackTwiceSameSavepoint function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests savepoint transaction duplicated rollback.
EditorDialogSave class core/modules/editor/src/Ajax/EditorDialogSave.php Provides an AJAX command for saving the contents of an editor dialog.
EditorDialogSave.php file core/modules/editor/src/Ajax/EditorDialogSave.php
EditorDialogSave::$values property core/modules/editor/src/Ajax/EditorDialogSave.php An array of values that will be passed back to the editor by the dialog.
EditorDialogSave::render function core/modules/editor/src/Ajax/EditorDialogSave.php Return an array to be run through json_encode and sent to the client.
EditorDialogSave::__construct function core/modules/editor/src/Ajax/EditorDialogSave.php Constructs an EditorDialogSave object.
EditorFileUsageTest::testFileSaveOperations function core/modules/editor/tests/src/Kernel/EditorFileUsageTest.php Tests file save operations when node with referenced files is saved.
editor_filter_format_presave function core/modules/editor/editor.module Implements hook_ENTITY_TYPE_presave().
editor_test_file_presave function core/modules/editor/tests/modules/editor_test/editor_test.module Implements hook_ENTITY_TYPE_presave() for file entities.
EndOfTransactionQueriesTest::testEntitySave function core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php Tests an entity save.
EndOfTransactionQueriesTest::testEntitySaveRollback function core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php Tests an entity save rollback.
EntityBase::invalidateTagsOnSave function core/lib/Drupal/Core/Entity/EntityBase.php Invalidates an entity's cache tags upon save.
EntityBase::postSave function core/lib/Drupal/Core/Entity/EntityBase.php Acts on a saved entity before the insert or update hook is invoked.
EntityBase::preSave function core/lib/Drupal/Core/Entity/EntityBase.php Acts on an entity before the presave hook is invoked.
EntityBase::save function core/lib/Drupal/Core/Entity/EntityBase.php Saves an entity permanently.

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