Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for presave

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
file_file_presave function core/modules/file/file.file.inc Implements hook_file_presave().
book_node_presave function core/modules/book/book.module Implements hook_node_presave().
hook_node_presave function core/modules/node/node.api.php Act on a node being inserted or updated.
hook_user_presave function core/modules/user/user.api.php Act on a user account being inserted or updated.
hook_file_presave function core/modules/system/system.api.php Act on a file being inserted or updated.
hook_field_presave function core/modules/field/field.api.php Define custom presave behavior for this module's field types.
date_field_presave function core/modules/date/date.field.inc Implements hook_field_insert().
image_file_presave function core/modules/image/image.module Implements hook_file_presave().
system_file_presave function core/modules/system/system.module Implements hook_file_presave().
system_user_presave function core/modules/system/system.module Implements hook_user_presave().
image_field_presave function core/modules/image/image.field.inc Implements hook_field_presave().
hook_layout_presave function core/modules/layout/layout.api.php Act on a layout being inserted or updated.
hook_entity_presave function core/modules/entity/entity.api.php Act on an entity before it is about to be created or updated.
number_field_presave function core/modules/field/modules/number/number.module Implements hook_field_presave().
contact_user_presave function core/modules/contact/contact.module Implements hook_user_presave().
field_attach_presave function core/modules/field/field.attach.inc Perform necessary operations just before fields data get saved.
hook_comment_presave function core/modules/comment/comment.api.php Act on a comment being inserted or updated.
comment_node_presave function core/modules/comment/comment.module Implements hook_node_presave().
hook_redirect_presave function core/modules/redirect/redirect.api.php Act on a redirect being inserted or updated.
layout_layout_presave function core/modules/layout/layout.module Implements hook_layout_presave().
hook_language_presave function core/modules/language/language.api.php React to a language about to be added or updated in the system.
node_test_node_presave function core/modules/node/tests/node_test/node_test.module Implements hook_node_presave().
taxonomy_field_presave function core/modules/taxonomy/taxonomy.module Implements hook_field_presave().
hook_user_role_presave function core/modules/user/user.api.php Act on a user role being inserted or updated.
hook_field_attach_presave function core/modules/field/field.api.php Act on field_attach_presave().
hook_taxonomy_term_presave function core/modules/taxonomy/taxonomy.api.php Act on taxonomy terms before they are saved.
layout_test_layout_presave function core/modules/layout/tests/layout_test/layout_test.module Implements hook_layout_presave().
hook_locale_language_presave function core/modules/locale/locale.api.php React to a language about to be added or updated in the system.
hook_entity_view_mode_presave function core/modules/entity/entity.api.php Act on a display mode before it is created or updated.
entityreference_field_presave function core/modules/entityreference/entityreference.module Implements hook_field_presave().
FileStorageController::preSave function core/modules/file/file.entity.inc Overrides EntityDatabaseStorageController::presave().
UserStorageController::preSave function core/modules/user/user.entity.inc Overrides EntityDatabaseStorageController::preSave().
NodeStorageController::preSave function core/modules/node/node.entity.inc Overrides EntityDatabaseStorageController::preSave().
hook_taxonomy_vocabulary_presave function core/modules/taxonomy/taxonomy.api.php Act on taxonomy vocabularies before they are saved.
CommentStorageController::preSave function core/modules/comment/comment.entity.inc Overrides EntityDatabaseStorageController::preSave().
entity_crud_hook_test_file_presave function core/modules/entity/tests/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_file_presave().
entity_crud_hook_test_node_presave function core/modules/entity/tests/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_node_presave().
entity_crud_hook_test_user_presave function core/modules/entity/tests/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_user_presave().
entity_crud_hook_test_entity_presave function core/modules/entity/tests/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_presave().
entity_crud_hook_test_comment_presave function core/modules/entity/tests/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_comment_presave().
EntityReferenceBehaviorHandler::presave function core/modules/entityreference/plugins/behavior/EntityReferenceBehaviorHandler.inc Act on pre-saving an entity reference field.
EntityDatabaseStorageController::preSave function core/modules/entity/entity.controller.inc Acts on an entity before the presave hook is invoked.
entity_crud_hook_test_taxonomy_term_presave function core/modules/entity/tests/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_taxonomy_term_presave().
EntityReferenceBehaviorHandlerInterface::presave function core/modules/entityreference/plugins/behavior/EntityReferenceBehaviorHandler.inc Act on pre-saving an entity reference field.

Directory

  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
  • Add-On Documentation
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
    • Using JavaScript
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Contribute to documentation
  • Developer API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Icon API
    • Database API
    • Theme functions
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org