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. Search 11.x for preSave
  6. Other projects
Title Object type File name Summary
Role::preSave function core/modules/user/src/Entity/Role.php Acts on an entity before the presave hook is invoked.
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.
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.
WorkspacePublisherTest::$nodePresaveCount property core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php The number of times node_presave has fired since arming.
WorkspacePublisherTest::$throwOnNodePresaveClass property core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php The class to throw during node presave, or empty string to skip.
WorkspacePublisherTest::nodePresave function core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php Implements hook_ENTITY_TYPE_presave() for the 'node' entity type.
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.