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
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.
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[[api-linebreak]]
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/Hook/EntityOperations.php Implements hook_entity_presave().
EntityOperations::entityPresave function core/modules/content_moderation/src/EntityOperations.php Acts on an entity and set published status based on the moderation state.
EntityOperations::entityPresave function core/modules/workspaces/src/EntityOperations.php Acts on an entity before it is created or updated.
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 Defines custom presave behavior for field values.
EntityReferenceItemTest::testEntitySaveOrder function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests saving order sequence doesn't matter.
EntityReferenceUuidItem::preSave function core/modules/jsonapi/tests/modules/jsonapi_test_field_type/src/Plugin/Field/FieldType/EntityReferenceUuidItem.php Defines custom presave behavior for field values.
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.

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