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
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.
EntityConfirmFormBase::save function core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php The save() method is not used in EntityConfirmFormBase. This overrides the
default implementation that saves the entity.
EntityContentBase::save function core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php Saves the entity.
EntityContentComplete::save function core/modules/migrate/src/Plugin/migrate/destination/EntityContentComplete.php Saves the entity.
EntityCrudHookTestHooks::blockPresave function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_presave() for block entities.
EntityCrudHookTestHooks::commentPresave function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_presave() for comment entities.
EntityCrudHookTestHooks::entityPresave function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_entity_presave().
EntityCrudHookTestHooks::filePresave function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_presave() for file entities.
EntityCrudHookTestHooks::nodePresave function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_presave() for node entities.
EntityCrudHookTestHooks::taxonomyTermPresave function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_presave() for taxonomy_term entities.
EntityCrudHookTestHooks::taxonomyVocabularyPresave function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities.
EntityCrudHookTestHooks::userPresave function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_presave() for user entities.
EntityDisplayBase::preSave function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Acts on an entity before the presave hook is invoked.
EntityDisplayBaseTest::testPreSave function core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayBaseTest.php @covers ::preSave
EntityDisplayFormBase::saveDisplayStatuses function core/modules/field_ui/src/Form/EntityDisplayFormBase.php Saves the updated display mode statuses.
EntityDisplayModeBase::preSave function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Acts on an entity before the presave hook is invoked.
EntityDisplayModeFormBase::save function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Form submission handler for the 'save' action.
EntityFieldTest::doTestSave function core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php Executes the save tests for the given entity type.
EntityFieldTest::testSave function core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php Tries to save and load an entity again.
EntityForm::save function core/lib/Drupal/Core/Entity/EntityForm.php Form submission handler for the 'save' action.
EntityFormInterface::save function core/lib/Drupal/Core/Entity/EntityFormInterface.php Form submission handler for the 'save' action.
EntityInterface::postSave function core/lib/Drupal/Core/Entity/EntityInterface.php Acts on a saved entity before the insert or update hook is invoked.
EntityInterface::preSave function core/lib/Drupal/Core/Entity/EntityInterface.php Acts on an entity before the presave hook is invoked.
EntityInterface::save function core/lib/Drupal/Core/Entity/EntityInterface.php Saves an entity permanently.
EntityOperations::entityPresave function core/modules/workspaces/src/EntityOperations.php Acts on an entity before it is created or updated.
EntityOperations::entityPresave function core/modules/content_moderation/src/EntityOperations.php Acts on an entity and set published status based on the moderation state.
EntityReferenceFormatterTest::$unsavedReferencedEntity property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php An entity that is not yet saved to its persistent storage.
EntityReferenceItem::preSave function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItemTest::testEntitySaveOrder function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests saving order sequence doesn't matter.
EntityRevision::save function core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Allow public access for testing.
EntityRevision::save function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Saves the entity.
EntityRevisionsTest::testSaveInHookEntityInsert function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php Tests re-saving the entity in entity_test_entity_insert().
EntityRevisionTest::testSave function core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Tests entity revision save.
EntityStorageBase::doPostSave function core/lib/Drupal/Core/Entity/EntityStorageBase.php Performs post save entity processing.
EntityStorageBase::doPreSave function core/lib/Drupal/Core/Entity/EntityStorageBase.php Performs presave entity processing.
EntityStorageBase::doSave function core/lib/Drupal/Core/Entity/EntityStorageBase.php Performs storage-specific saving of the entity.
EntityStorageBase::save function core/lib/Drupal/Core/Entity/EntityStorageBase.php Saves the entity permanently.
EntityStorageInterface::save function core/lib/Drupal/Core/Entity/EntityStorageInterface.php Saves the entity permanently.
EntityTestForm::save function core/modules/system/tests/modules/entity_test/src/EntityTestForm.php Form submission handler for the 'save' action.
EntityTestHooks::entityPresave function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_presave().
EntityTestMulChanged::save function core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php Saves an entity permanently.
EntityTestUpdateHooks::viewPresave function core/modules/system/tests/modules/entity_test_update/src/Hook/EntityTestUpdateHooks.php Implements hook_ENTITY_TYPE_presave() for the 'view' entity type.
EntityTestUpdateStorage::saveToDedicatedTables function core/modules/system/tests/modules/entity_test_update/src/EntityTestUpdateStorage.php Saves values of fields that use dedicated tables.
EntityUnitTest::testPostSave function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postSave
EntityUnitTest::testPostSaveBundle function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postSave

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