Hooks/before update record

before_update_record

arguments: $record Omeka_Record

Fires before any existing database record is updated. New records being inserted do not cause this hook to fire.

Notes

  • Since this hook fires before the record is saved, the record ID will not be available.
  • Changes made to any record properties will be saved in the database.