Search for save

  1. Search 7.x for save
  2. Search 8.9.x for save
  3. Search 10.3.x for save
  4. Search 11.x for save
  5. Other projects
Title Object type File name Summary
Node::preSave function core/modules/node/src/Entity/Node.php Acts on an entity before the presave hook is invoked.
Node::preSaveRevision function core/modules/node/src/Entity/Node.php Acts on a revision before it gets saved.
NodeAdminRouteSubscriber::onConfigSave function core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php Rebuilds the router when node.settings:use_admin_theme is changed.
NodeForm::save function core/modules/node/src/NodeForm.php Form submission handler for the 'save' action.
NodeFormSaveChangedTimeTest class core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Tests updating the changed time after API and FORM entity save.
NodeFormSaveChangedTimeTest.php file core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
NodeFormSaveChangedTimeTest::$authorUser property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php A user with permissions to create and edit articles.
NodeFormSaveChangedTimeTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php The theme to install as the default for testing.
NodeFormSaveChangedTimeTest::$modules property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Modules to enable.
NodeFormSaveChangedTimeTest::setUp function core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
NodeFormSaveChangedTimeTest::testChangedTimeAfterSaveWithoutChanges function core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php Tests the changed time after API and FORM save without changes.
NodeOwnerTest::testUnsavedNodeOwner function core/modules/node/tests/src/Kernel/NodeOwnerTest.php Tests an unsaved node owner.
NodeRevisionsUiTest::testNodeFormSaveWithoutRevision function core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php Checks that unchecking 'Create new revision' works when editing a node.
NodeSaveTest class core/modules/node/tests/src/Functional/NodeSaveTest.php Tests $node->save() for saving content.
NodeSaveTest.php file core/modules/node/tests/src/Functional/NodeSaveTest.php
NodeSaveTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeSaveTest.php The theme to install as the default for testing.
NodeSaveTest::$modules property core/modules/node/tests/src/Functional/NodeSaveTest.php Modules to enable.
NodeSaveTest::$webUser property core/modules/node/tests/src/Functional/NodeSaveTest.php A normal logged in user.
NodeSaveTest::setUp function core/modules/node/tests/src/Functional/NodeSaveTest.php
NodeSaveTest::testDeterminingChanges function core/modules/node/tests/src/Functional/NodeSaveTest.php Tests node presave and static node load cache.
NodeSaveTest::testImport function core/modules/node/tests/src/Functional/NodeSaveTest.php Checks whether custom node IDs are saved properly during an import operation.
NodeSaveTest::testNodeSaveOnInsert function core/modules/node/tests/src/Functional/NodeSaveTest.php Tests saving a node on node insert.
NodeSaveTest::testTimestamps function core/modules/node/tests/src/Functional/NodeSaveTest.php Verifies accuracy of the "created" and "changed" timestamp functionality.
NodeTranslationMigrateSubscriber::onPostRowSave function core/modules/node/src/EventSubscriber/NodeTranslationMigrateSubscriber.php Maps the old nid to the new one in the key value collection.
NodeType::postSave function core/modules/node/src/Entity/NodeType.php Acts on a saved entity before the insert or update hook is invoked.
NodeTypeForm::save function core/modules/node/src/NodeTypeForm.php Form submission handler for the 'save' action.
node_test_node_presave function core/modules/node/tests/modules/node_test/node_test.module Implements hook_ENTITY_TYPE_presave() for node entities.
NullIdMap::saveIdMapping function core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php Saves a mapping from the source identifiers to the destination identifiers.
NullIdMap::saveMessage function core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php Saves a message related to a source record in the migration message table.
OverridesEntityForm::save function core/modules/layout_builder/src/Form/OverridesEntityForm.php Form submission handler for the 'save' action.
OverridesSectionStorage::save function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Saves the sections.
PageTitleTest::$savedTitle property core/modules/system/tests/src/Functional/System/PageTitleTest.php
PasswordItem::preSave function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php Defines custom presave behavior for field values.
PasswordItemTest::testPreSaveExceptionExisting function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordItemTest::testPreSaveExceptionNew function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordItemTest::testPreSaveExistingEmptyString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordItemTest::testPreSaveExistingMultipleSpacesString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordItemTest::testPreSaveExistingNull function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordItemTest::testPreSaveNewEmptyString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordItemTest::testPreSaveNewMultipleSpacesString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordItemTest::testPreSaveNewNull function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordItemTest::testPreSavePreHashed function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PathAlias::postSave function core/modules/path_alias/src/Entity/PathAlias.php Acts on a saved entity before the insert or update hook is invoked.
PathAlias::preSave function core/modules/path_alias/src/Entity/PathAlias.php Acts on an entity before the presave hook is invoked.
PathAliasForm::save function core/modules/path/src/PathAliasForm.php Form submission handler for the 'save' action.
PathItem::postSave function core/modules/path/src/Plugin/Field/FieldType/PathItem.php Defines custom post-save behavior for field values.
PathItem::preSave function core/modules/path/src/Plugin/Field/FieldType/PathItem.php Defines custom presave behavior for field values.
PhpStorageInterface::save function core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php Saves PHP code to storage.
ProfileForm::save function core/modules/user/src/ProfileForm.php Form submission handler for the 'save' action.
ProfileTranslationHandler::entityFormSave function core/modules/user/src/ProfileTranslationHandler.php Form submission handler for ProfileTranslationHandler::entityFormAlter().

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