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
PasswordItemTest::testPreSaveExistingNull function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php Tests pre save existing null.
PasswordItemTest::testPreSaveNewEmptyString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php Tests pre save new empty string.
PasswordItemTest::testPreSaveNewMultipleSpacesString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php Tests pre save new multiple spaces string.
PasswordItemTest::testPreSaveNewNull function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php Tests pre save new null.
PasswordItemTest::testPreSavePreHashed function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php Tests pre save pre hashed.
PathAlias::preSave function core/modules/path_alias/src/Entity/PathAlias.php Acts on an entity before the presave hook is invoked.
PathItem::preSave function core/modules/path/src/Plugin/Field/FieldType/PathItem.php Defines custom presave behavior for field values.
PathTestMiscHooks::nodePresave function core/modules/path/tests/modules/path_test_misc/src/Hook/PathTestMiscHooks.php Implements hook_ENTITY_TYPE_presave() for node entities.
RevisionableInterface::preSaveRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Acts on a revision before it gets saved.
RevisionTestItem::preSave function core/modules/workspaces/tests/modules/workspaces_test/src/Plugin/Field/FieldType/RevisionTestItem.php Defines custom presave behavior for field values.
Role::preSave function core/modules/user/src/Entity/Role.php Acts on an entity before the presave hook is invoked.
SearchHooks::blockPresave function core/modules/search/src/Hook/SearchHooks.php Implements hook_ENTITY_TYPE_presave() for block entities.
StubRevisionableEntity::preSaveRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Acts on a revision before it gets saved.
SystemHooks::systemEntityFormModePresave function core/modules/system/src/Hook/SystemHooks.php Implements hook_entity_form_mode_presave().
TaxonomyCrudHooks::taxonomyVocabularyPresave function core/modules/taxonomy/tests/modules/taxonomy_crud/src/Hook/TaxonomyCrudHooks.php Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities.
Term::preSave function core/modules/taxonomy/src/Entity/Term.php Acts on an entity before the presave hook is invoked.
User::preSave function core/modules/user/src/Entity/User.php Acts on an entity before the presave hook is invoked.
View::preSave function core/modules/views/src/Entity/View.php Acts on an entity before the presave hook is invoked.
ViewsHooks::blockPresave function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_presave() for blocks.
ViewsHooks::viewPresave function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_presave().
ViewsTestConfigUpdaterHooks::viewPresave function core/modules/views/tests/modules/views_test_config_updater/src/Hook/ViewsTestConfigUpdaterHooks.php Implements hook_ENTITY_TYPE_presave().
ViewUI::preSave function core/modules/views_ui/src/ViewUI.php Acts on an entity before the presave hook is invoked.
Workflow::preSave function core/modules/workflows/src/Entity/Workflow.php Acts on an entity before the presave hook is invoked.
WorkspaceProviderBase::entityPresave function core/modules/workspaces/src/Provider/WorkspaceProviderBase.php Acts before an entity is saved.
WorkspaceProviderInterface::entityPresave function core/modules/workspaces/src/Provider/WorkspaceProviderInterface.php Acts before an entity is saved.
WorkspacesTestHooks::entityPresave function core/modules/workspaces/tests/modules/workspaces_test/src/Hook/WorkspacesTestHooks.php Implements hook_entity_presave().

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