Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here is a patch for adding a cutoff date to the events settings. I basically copied the functionality from the Webform Limit Submissions module. It cuts off if it is the day (at midnight). I had trouble getting drupal_write_record to update the DB so I just switched to a DB delete and insert. I added the necessary update code to the .install file to add the new column for the cutoff date.
Comment | File | Size | Author |
---|---|---|---|
cutoffdate-add.patch | 6.26 KB | jmoughon |