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 11.x for save
  5. Other projects
Title Object type File name Summary
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.
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.
EntityTestMulChanged::save function core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php Saves an entity permanently.
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
EntityUnitTest::testPreSave function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::preSave
EntityUnitTest::testSave function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::save
EntityUser::save function core/modules/user/src/Plugin/migrate/destination/EntityUser.php Saves the entity.
EntityViewDisplay::postSave function core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php Acts on a saved entity before the insert or update hook is invoked.
entity_crud_hook_test_block_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for block entities.
entity_crud_hook_test_comment_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for comment entities.
entity_crud_hook_test_entity_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_presave().
entity_crud_hook_test_file_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for file entities.
entity_crud_hook_test_node_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for node entities.
entity_crud_hook_test_taxonomy_term_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for taxonomy_term entities.
entity_crud_hook_test_taxonomy_vocabulary_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities.
entity_crud_hook_test_user_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for user entities.

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