Hooks/before validate record

before_validate_record

arguments: $record Omeka_Record

Fires before any database record is validated. This hook will fire for both insert and update operations.

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, and will undergo validation.