Search for presave

  1. Search 7.x for presave
  2. Search 9.5.x for presave
  3. Search 8.9.x for presave
  4. Search 10.3.x for presave
  5. Other projects
Title Object type File name Summary
AutoIncrementingTestItem::preSave function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/AutoIncrementingTestItem.php
BaseFieldOverride::preSave function core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
Block::preSave function core/modules/block/src/Entity/Block.php
BlockContent::preSaveRevision function core/modules/block_content/src/Entity/BlockContent.php
BlockContentHooks::blockPreSave function core/modules/block_content/src/Hook/BlockContentHooks.php Implements hook_ENTITY_TYPE_presave().
BlockContentTestHooks::blockContentPresave function core/modules/block_content/tests/modules/block_content_test/src/Hook/BlockContentTestHooks.php Implements hook_ENTITY_TYPE_presave().
ChangedItem::preSave function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/ChangedItem.php
ChangedTestItem::preSave function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ChangedTestItem.php
Ckeditor5Hooks::editorPresave function core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Implements hook_ENTITY_TYPE_presave() for editor entities.
Comment::preSave function core/modules/comment/src/Entity/Comment.php
CommentHooks::entityViewDisplayPresave function core/modules/comment/src/Hook/CommentHooks.php Implements hook_ENTITY_TYPE_presave() for entity_view_display entities.
ConfigEntityBase::preSave function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
ConfigEntityBaseUnitTest::providerTestSetAndPreSaveWithPluginCollections function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
ConfigEntityBaseUnitTest::testPreSaveDuringSync function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php Tests pre save during sync.
ConfigEntityBaseUnitTest::testPreSaveWithPluginCollections function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php Tests pre save with plugin collections.
ConfigEntityBundleBase::preSave function core/lib/Drupal/Core/Config/Entity/ConfigEntityBundleBase.php Acts on an entity before the presave hook is invoked.
ConfigTestHooksHooks::configTestPresave function core/modules/config/tests/config_test/src/Hook/ConfigTestHooksHooks.php Implements hook_ENTITY_TYPE_presave().
ConfigurableLanguage::$preSaveMultilingual property core/modules/language/src/Entity/ConfigurableLanguage.php Used during saving to detect when the site becomes multilingual.
ConfigurableLanguage::preSave function core/modules/language/src/Entity/ConfigurableLanguage.php Acts on an entity before the presave hook is invoked.
ContentEntityBase::preSave function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::preSaveRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBaseUnitTest::testPreSaveRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Tests pre save revision.
ContentEntityStorageBase::doPreSave function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
ContentLanguageSettings::preSave function core/modules/language/src/Entity/ContentLanguageSettings.php Acts on an entity before the presave hook is invoked.
ContentModerationHooks::entityPresave function core/modules/content_moderation/src/Hook/ContentModerationHooks.php Implements hook_entity_presave().
ContentTranslationHooks::entityPresave function core/modules/content_translation/src/Hook/ContentTranslationHooks.php Implements hook_entity_presave().
DecimalItem::preSave function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php
EditorHooks::filterFormatPresave function core/modules/editor/src/Hook/EditorHooks.php Implements hook_ENTITY_TYPE_presave().
EditorTestHooks::filePresave function core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Implements hook_ENTITY_TYPE_presave() for file entities.
EntityBase::preSave function core/lib/Drupal/Core/Entity/EntityBase.php
EntityCrudHookTest::blockPresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for block entities.
EntityCrudHookTest::commentPresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for comment entities.
EntityCrudHookTest::entityPresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_entity_presave().
EntityCrudHookTest::filePresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for file entities.
EntityCrudHookTest::nodePresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for node entities.
EntityCrudHookTest::taxonomyTermPresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for taxonomy_term entities.
EntityCrudHookTest::taxonomyVocabularyPresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities.
EntityCrudHookTest::userPresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for user entities.
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
EntityDisplayBaseTest::testPreSave function core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayBaseTest.php Tests pre save.
EntityDisplayModeBase::preSave function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php
EntityInterface::preSave function core/lib/Drupal/Core/Entity/EntityInterface.php Acts on an entity before the presave hook is invoked.

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