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
FileUploadForm::prepareMediaEntityForSave function core/modules/media_library/src/Form/FileUploadForm.php Prepares a created media item to be permanently saved.
FileUploadHandlerTest::testFileSaveUploadSingleErrorFormSize function core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php Tests file size upload errors.
file_managed_file_save_upload function core/modules/file/file.module Saves any files that have been uploaded into a managed_file element.
file_save_data function core/modules/file/file.module Saves a file to the specified destination and creates a database entry.
file_save_upload function core/modules/file/file.module Saves file uploads to a new location.
FilterAPITest::testFilterFormatPreSave function core/modules/filter/tests/src/Kernel/FilterAPITest.php Tests that FilterFormat::preSave() only saves customized plugins.
FilterFormat::postSave function core/modules/filter/src/Entity/FilterFormat.php Acts on a saved entity before the insert or update hook is invoked.
FilterFormat::preSave function core/modules/filter/src/Entity/FilterFormat.php Acts on an entity before the presave hook is invoked.
FilterTest::savePaintings function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php Creates painting nodes.
FilterTest::savePaintingType function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php Creates a painting node type.
ForumForm::save function core/modules/forum/src/Form/ForumForm.php Form submission handler for the 'save' action.
forum_node_presave function core/modules/forum/forum.module Implements hook_ENTITY_TYPE_presave() for node entities.
GDToolkit::save function core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php Writes an image resource to a destination file.
GroupByTest::testGroupBySave function core/modules/views_ui/tests/src/Functional/GroupByTest.php Tests whether basic saving works.
hook_entity_presave function core/lib/Drupal/Core/Entity/entity.api.php Act on an entity before it is created or updated.
hook_ENTITY_TYPE_presave function core/lib/Drupal/Core/Entity/entity.api.php Act on a specific type of entity before it is created or updated.
HtaccessTest::testHtaccessSave function core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php @covers ::write[[api-linebreak]]
Image::save function core/lib/Drupal/Core/Image/Image.php Closes the image and saves the changes to a file.
ImageInterface::save function core/lib/Drupal/Core/Image/ImageInterface.php Closes the image and saves the changes to a file.
ImageItem::preSave function core/modules/image/src/Plugin/Field/FieldType/ImageItem.php Defines custom presave behavior for field values.
ImageStyle::postSave function core/modules/image/src/Entity/ImageStyle.php Acts on a saved entity before the insert or update hook is invoked.
ImageStyleEditForm::effectSave function core/modules/image/src/Form/ImageStyleEditForm.php Submit handler for image effect.
ImageStyleEditForm::save function core/modules/image/src/Form/ImageStyleEditForm.php Form submission handler for the 'save' action.
ImageStyleFormBase::save function core/modules/image/src/Form/ImageStyleFormBase.php Form submission handler for the 'save' action.
ImageTest::testSave function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::save().
ImageTest::testSaveFails function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::save().
ImageToolkitInterface::save function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Writes an image resource to a destination file.
image_entity_presave function core/modules/image/image.module Implements hook_entity_presave().
image_entity_view_display_presave function core/modules/image/image.module Implements hook_ENTITY_TYPE_presave() for entity_view_display.
image_module_test_image_style_presave function core/modules/image/tests/modules/image_module_test/image_module_test.module Implements hook_image_style_presave().
ImmutableConfig::save function core/lib/Drupal/Core/Config/ImmutableConfig.php Saves the configuration object.
ImmutableConfigTest::testSave function core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php @covers ::save[[api-linebreak]]
InlineBlock::saveBlockContent function core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Saves the block_content entity for this plugin.
InlineBlockEntityOperations::handlePreSave function core/modules/layout_builder/src/InlineBlockEntityOperations.php Handles saving a parent entity.
InlineBlockEntityOperations::removeUnusedForEntityOnSave function core/modules/layout_builder/src/InlineBlockEntityOperations.php Remove all unused inline blocks on save.
InlineBlockEntityOperations::saveInlineBlockComponent function core/modules/layout_builder/src/InlineBlockEntityOperations.php Saves an inline block component.
InlineBlockTest::layoutNoSaveProvider function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Provides test data for ::testNoLayoutSave().
InlineBlockTest::testNoLayoutSave function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Tests adding a new entity block and then not saving the layout.
InlineBlockTestBase::assertSaveLayout function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Saves a layout and asserts the message is correct.
InstallHelper::saveMediaImageId function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Saves a Media Image ID generated when saving a media image.
InstallHelper::saveNodePath function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Saves a node CSV ID generated when saving content.
InstallHelper::saveTermId function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Saves a Term ID generated when saving a taxonomy term.
Item::postSave function core/modules/aggregator/src/Entity/Item.php Acts on a saved entity before the insert or update hook is invoked.
jsonapi_test_non_cacheable_methods_entity_presave function core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/jsonapi_test_non_cacheable_methods.module Implements hook_entity_presave().
KeyValueEntityStorage::doSave function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php Performs storage-specific saving of the entity.
KeyValueEntityStorage::save function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php Saves the entity permanently.
KeyValueEntityStorageTest::testSaveConfigEntity function core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php @covers ::save[[api-linebreak]]
@covers ::doSave[[api-linebreak]]
KeyValueEntityStorageTest::testSaveContentEntity function core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php @covers ::save[[api-linebreak]]
@covers ::doSave[[api-linebreak]]
KeyValueEntityStorageTest::testSaveDuplicate function core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php @covers ::save[[api-linebreak]]
@covers ::doSave[[api-linebreak]]
KeyValueEntityStorageTest::testSaveInsert function core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php @covers ::save[[api-linebreak]]
@covers ::doSave[[api-linebreak]]

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