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
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::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.
RevisionableInterface::preSaveRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Acts on a revision before it gets saved.
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.
TaxonomyCrudHooks::taxonomyVocabularyPresave function core/modules/taxonomy/tests/modules/taxonomy_crud/src/Hook/TaxonomyCrudHooks.php Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities.
taxonomy_crud_taxonomy_vocabulary_presave function core/modules/taxonomy/tests/modules/taxonomy_crud/taxonomy_crud.module 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.
tour_test_tour_presave function core/modules/tour/tests/tour_test/tour_test.module Implements hook_ENTITY_TYPE_presave() for tour.
User::preSave function core/modules/user/src/Entity/User.php Acts on an entity before the presave hook is invoked.
UserHooks::userPresave function core/modules/user/src/Hook/UserHooks.php Implements hook_ENTITY_TYPE_presave() for user entities.
View::preSave function core/modules/views/src/Entity/View.php Acts on an entity before the presave hook is invoked.
ViewsHooks::viewPresave function core/modules/views/src/Hook/ViewsHooks.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.
WorkspacesHooks::entityPresave function core/modules/workspaces/src/Hook/WorkspacesHooks.php Implements hook_entity_presave().

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