Hooks/after insert record

before_insert_record

arguments: $record Omeka_Record

Fires after any database record is inserted. Updates to existing records do not cause this hook to fire.

Notes

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