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
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.
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.
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::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.
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.