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
ActionFormBase::save function core/modules/action/src/Form/ActionFormBase.php Form submission handler for the 'save' action.
AddFormBase::prepareMediaEntityForSave function core/modules/media_library/src/Form/AddFormBase.php Prepares a created media item to be permanently saved.
AdvisoriesConfigSubscriber::onConfigSave function core/modules/system/src/EventSubscriber/AdvisoriesConfigSubscriber.php Deletes the stored response from the security advisories feed, if needed.
ArgumentValidatorTest::saveArgumentHandlerWithValidationOptions function core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php Saves the test_argument view with changes made to the argument handler.
AutoIncrementingTestItem::preSave function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/AutoIncrementingTestItem.php Defines custom presave behavior for field values.
BaseFieldOverride::preSave function core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
Block::postSave function core/modules/block/src/Entity/Block.php Acts on a saved entity before the insert or update hook is invoked.
Block::preSave function core/modules/block/src/Entity/Block.php Acts on an entity before the presave hook is invoked.
BlockContent::postSave function core/modules/block_content/src/Entity/BlockContent.php Acts on a saved entity before the insert or update hook is invoked.
BlockContent::preSaveRevision function core/modules/block_content/src/Entity/BlockContent.php Acts on a revision before it gets saved.
BlockContentForm::save function core/modules/block_content/src/BlockContentForm.php Form submission handler for the 'save' action.
BlockContentSaveTest class core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Tests $block_content->save() for saving content.
BlockContentSaveTest.php file core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php
BlockContentSaveTest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php The theme to install as the default for testing.
BlockContentSaveTest::$modules property core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Modules to install.
BlockContentSaveTest::setUp function core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Sets the test up.
BlockContentSaveTest::testBlockContentSaveOnInsert function core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Tests saving a block on block insert.
BlockContentSaveTest::testDeterminingChanges function core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Tests determining changes in hook_block_presave().
BlockContentSaveTest::testImport function core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php Checks whether content block IDs are saved properly during an import.
BlockContentTestHooks::blockContentPresave function core/modules/block_content/tests/modules/block_content_test/src/Hook/BlockContentTestHooks.php Implements hook_block_content_presave().
BlockContentTypeForm::save function core/modules/block_content/src/BlockContentTypeForm.php Form submission handler for the 'save' action.
BlockForm::save function core/modules/block/src/BlockForm.php Form submission handler for the 'save' action.
block_content_test_block_content_presave function core/modules/block_content/tests/modules/block_content_test/block_content_test.module Implements hook_block_content_presave().
BookManager::saveBookLink function core/modules/book/src/BookManager.php
BookManager::saveBookLink function core/modules/book/src/ProxyClass/BookManager.php
BookManagerInterface::saveBookLink function core/modules/book/src/BookManagerInterface.php Saves a link for a single book entry to the book.
BookOutlineForm::save function core/modules/book/src/Form/BookOutlineForm.php Form submission handler for the 'save' action.
BookSettingsFormTest::testConfigValuesSavedCorrectly function core/modules/book/tests/src/Kernel/BookSettingsFormTest.php Tests that submitted values are processed and saved correctly.
BookTest::testSaveBookLink function core/modules/book/tests/src/Functional/BookTest.php Tests that saveBookLink() returns something.
book_node_presave function core/modules/book/book.module Implements hook_ENTITY_TYPE_presave() for node entities.
ChangedItem::preSave function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/ChangedItem.php Defines custom presave behavior for field values.
ChangedTestItem::preSave function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ChangedTestItem.php Defines custom presave behavior for field values.
CheckpointStorage::onConfigSaveAndDelete function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Updates checkpoint when configuration is saved.
CheckpointStorageTest::testConfigSaveAndRead function core/tests/Drupal/KernelTests/Core/Config/Storage/Checkpoint/CheckpointStorageTest.php
CKEditor5CacheTag::onSave function core/modules/ckeditor5/src/EventSubscriber/CKEditor5CacheTag.php Invalidates cache tags when particular system config objects are saved.
CKEditor5Test::testSave function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5Test.php Ensures that changes are saved in CKEditor 5.
CKEditor5TestBase::saveNewTextFormat function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5TestBase.php Save the new text format.
CKEditor5UpdatePluginSettingsSortTest::testUpdatePluginSettingsSortEntitySave function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdatePluginSettingsSortTest.php Ensure settings for CKEditor 5 plugins are sorted by plugin key.
Comment::postSave function core/modules/comment/src/Entity/Comment.php Acts on a saved entity before the insert or update hook is invoked.
Comment::preSave function core/modules/comment/src/Entity/Comment.php Acts on an entity before the presave hook is invoked.
CommentForm::save function core/modules/comment/src/CommentForm.php Form submission handler for the 'save' action.
CommentHooks::entityViewDisplayPresave function core/modules/comment/src/Hook/CommentHooks.php Implements hook_ENTITY_TYPE_presave() for entity_view_display entities.
CommentPreviewTest::testCommentEditPreviewSave function core/modules/comment/tests/src/Functional/CommentPreviewTest.php Tests comment edit, preview, and save.
CommentTypeForm::save function core/modules/comment/src/CommentTypeForm.php Form submission handler for the 'save' action.
Config::save function core/lib/Drupal/Core/Config/Config.php Saves the configuration object.
ConfigCacheTag::onSave function core/modules/system/src/EventSubscriber/ConfigCacheTag.php Invalidate cache tags when particular system config objects are saved.
ConfigCollectionEvents::SAVE_IN_COLLECTION constant core/lib/Drupal/Core/Config/ConfigCollectionEvents.php Event dispatched when saving configuration not in the default collection.
ConfigEntityBase::invalidateTagsOnSave function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Override to never invalidate the entity's cache tag; the config system
already invalidates it.
ConfigEntityBase::preSave function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Acts on an entity before the presave hook is invoked.
ConfigEntityBase::save function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Saves an entity permanently.

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